diff options
Diffstat (limited to 'camellia.h')
-rw-r--r-- | camellia.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,7 +21,7 @@ struct Camellia_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 1 /// <a href="http://www.weidai.com/scan-mirror/cs.html#Camellia">Camellia</a> class Camellia : public Camellia_Info, public BlockCipherDocumentation { - class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate<Camellia_Info> + class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl<Camellia_Info> { public: void UncheckedSetKey(CipherDir dir, const byte *key, unsigned int keylen); @@ -41,8 +41,8 @@ class Camellia : public Camellia_Info, public BlockCipherDocumentation }; public: - typedef BlockCipherTemplate<ENCRYPTION, Base> Encryption; - typedef BlockCipherTemplate<DECRYPTION, Base> Decryption; + typedef BlockCipherFinal<ENCRYPTION, Base> Encryption; + typedef BlockCipherFinal<DECRYPTION, Base> Decryption; }; typedef Camellia::Encryption CamelliaEncryption; |