fix Blowfish minimum keylength to be 4 bytes (32 bits)

pull/2/head
weidai 2011-05-12 05:39:16 +00:00
parent 97cf1c813a
commit fecbd5b18b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
NAMESPACE_BEGIN(CryptoPP) 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";} static const char *StaticAlgorithmName() {return "Blowfish";}
}; };