Lines Matching defs:cipher
38 throw InvalidArgument("CMAC: " + IntToString(length) + " is not a supported cipher block size");
45 BlockCipher &cipher = AccessCipher();
46 unsigned int blockSize = cipher.BlockSize();
48 cipher.SetKey(key, length, params);
52 cipher.ProcessBlock(m_reg, m_reg+blockSize);
63 BlockCipher &cipher = AccessCipher();
64 unsigned int blockSize = cipher.BlockSize();
76 cipher.ProcessBlock(m_reg);
84 size_t leftOver = 1 + cipher.AdvancedProcessBlocks(m_reg, input, m_reg, length-1, BlockTransformation::BT_DontIncrementInOutPointers|BlockTransformation::BT_XorInput);
103 BlockCipher &cipher = AccessCipher();
104 unsigned int blockSize = cipher.BlockSize();
109 cipher.AdvancedProcessBlocks(m_reg, m_reg+2*blockSize, m_reg, blockSize, BlockTransformation::BT_DontIncrementInOutPointers|BlockTransformation::BT_XorInput);
112 cipher.AdvancedProcessBlocks(m_reg, m_reg+blockSize, m_reg, blockSize, BlockTransformation::BT_DontIncrementInOutPointers|BlockTransformation::BT_XorInput);