From 27528ff85cb9978cb949e845b5aaefb21352d872 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 12 May 2011 05:39:16 +0000 Subject: fix Blowfish minimum keylength to be 4 bytes (32 bits) git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@528 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- blowfish.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blowfish.h') diff --git a/blowfish.h b/blowfish.h index 4707ce1..ebc4f94 100644 --- a/blowfish.h +++ b/blowfish.h @@ -9,7 +9,7 @@ NAMESPACE_BEGIN(CryptoPP) //! _ -struct Blowfish_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 1, 56>, public FixedRounds<16> +struct Blowfish_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 4, 56>, public FixedRounds<16> { static const char *StaticAlgorithmName() {return "Blowfish";} }; -- cgit v1.2.1