In cryptography , an SP-network , or substitution-permutation network ( SPN ) , is a series of linked mathematical operations used in block cipher algorithms such as AES . In cryptography , an SP-network , or substitution-permutation network ( SPN ) , is a series of linked mathematical operations used in block cipher algorithms such as AES ( Rijndael ) .