summaryrefslogtreecommitdiff
path: root/blowfish.h
diff options
context:
space:
mode:
Diffstat (limited to 'blowfish.h')
-rw-r--r--blowfish.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/blowfish.h b/blowfish.h
index dc45a5f..f5f1c0a 100644
--- a/blowfish.h
+++ b/blowfish.h
@@ -16,7 +16,7 @@ struct Blowfish_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 1,
//! <a href="http://www.weidai.com/scan-mirror/cs.html#Blowfish">Blowfish</a>
class Blowfish : public Blowfish_Info, public BlockCipherDocumentation
{
- class CRYPTOPP_NO_VTABLE Base : public BlockCipherBaseTemplate<Blowfish_Info>
+ class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl<Blowfish_Info>
{
public:
void ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const;
@@ -33,8 +33,8 @@ class Blowfish : public Blowfish_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 Blowfish::Encryption BlowfishEncryption;