fix Blowfish minimum keylength to be 4 bytes (32 bits)
parent
97cf1c813a
commit
fecbd5b18b
|
|
@ -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";}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue