public CcmBlockCipher( IBlockCipher cipher) { this.cipher = cipher; this.macBlock = new byte[BlockSize]; if (cipher.GetBlockSize() != BlockSize) throw new ArgumentException("cipher required with a block size of " + BlockSize + "."); }