diff options
Diffstat (limited to 'blowfish.h')
-rw-r--r-- | blowfish.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |