Lines Matching refs:cipher
22 The "external cipher" mode objects hold a reference to the underlying block cipher,
24 For the "cipher holder" classes, the CIPHER template parameter should be a class
45 void SetCipher(BlockCipher &cipher)
48 this->m_cipher = &cipher;
52 void SetCipherWithIV(BlockCipher &cipher, const byte *iv, int feedbackSize = 0)
55 this->m_cipher = &cipher;
68 throw InvalidArgument("CipherModeBase: feedback size cannot be specified for this cipher mode");
282 CipherModeFinalTemplate_ExternalCipher(BlockCipher &cipher)
283 {this->SetCipher(cipher);}
284 CipherModeFinalTemplate_ExternalCipher(BlockCipher &cipher, const byte *iv, int feedbackSize = 0)
285 {this->SetCipherWithIV(cipher, iv, feedbackSize);}
303 //! CFB mode, external cipher
318 //! CFB mode FIPS variant, requiring full block plaintext according to FIPS 800-38A, external cipher
335 //! OFB mode, external cipher
352 //! CTR mode, external cipher
369 //! ECB mode, external cipher
387 //! CBC mode, external cipher
405 //! CBC mode with ciphertext stealing, external cipher