summaryrefslogtreecommitdiff
path: root/blowfish.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2011-05-12 05:39:16 +0000
committerweidai <weidai11@users.noreply.github.com>2011-05-12 05:39:16 +0000
commitfecbd5b18b360aa60859e1b990f426a05bad6518 (patch)
tree0fd993807d43594ad353aea39e4f1677efbb76cc /blowfish.h
parent97cf1c813a26416396cbc78799e3ca34bddb5448 (diff)
downloadcryptopp-git-fecbd5b18b360aa60859e1b990f426a05bad6518.tar.gz
fix Blowfish minimum keylength to be 4 bytes (32 bits)
Diffstat (limited to 'blowfish.h')
-rw-r--r--blowfish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/blowfish.h b/blowfish.h
index 4707ce19..ebc4f94d 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";}
};