The structure of Square is a substitution-permutation network with eight rounds , operating on 128-bit block size and using a 128-bit key size . The structure of Square is a substitution-permutation network with eight rounds , operating on 128-bit blocks and using a 128-bit key .