diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-04-29 16:00:39 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-04-29 16:00:39 +0000 |
commit | 8292126d81f89e703e3c92f1fc8c8bf1f5d9c4a8 (patch) | |
tree | 230a162876fc2fca3a4924b96cd92773b6600e77 /strciphr.h | |
parent | f0e00c67ca788de19b18cac39ed3fdc904dbc811 (diff) | |
download | cryptopp-8292126d81f89e703e3c92f1fc8c8bf1f5d9c4a8.tar.gz |
add CFB mode FIPS variant
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@165 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'strciphr.h')
-rw-r--r-- | strciphr.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -251,10 +251,19 @@ class CRYPTOPP_NO_VTABLE CFB_DecryptionTemplate : public CFB_CipherTemplate<BASE void CombineMessageAndShiftRegister(byte *output, byte *reg, const byte *message, unsigned int length); }; +template <class BASE> +class CFB_RequireFullDataBlocks : public BASE +{ +public: + unsigned int MandatoryBlockSize() const {return OptimalBlockSize();} +}; + +/* CRYPTOPP_DLL_TEMPLATE_CLASS AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher>; CRYPTOPP_DLL_TEMPLATE_CLASS CFB_CipherTemplate<AbstractPolicyHolder<CFB_CipherAbstractPolicy, SymmetricCipher> >; CRYPTOPP_DLL_TEMPLATE_CLASS CFB_EncryptionTemplate<>; CRYPTOPP_DLL_TEMPLATE_CLASS CFB_DecryptionTemplate<>; +*/ template <class BASE, class INFO = BASE> class SymmetricCipherFinal : public AlgorithmImpl<SimpleKeyingInterfaceImpl<BASE, INFO>, INFO> |