summaryrefslogtreecommitdiff
path: root/camellia.h
diff options
context:
space:
mode:
Diffstat (limited to 'camellia.h')
-rw-r--r--camellia.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/camellia.h b/camellia.h
index 1b43e1d..9d902d9 100644
--- a/camellia.h
+++ b/camellia.h
@@ -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;