summaryrefslogtreecommitdiff
path: root/blowfish.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2011-05-12 05:39:16 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2011-05-12 05:39:16 +0000
commit27528ff85cb9978cb949e845b5aaefb21352d872 (patch)
tree0fd993807d43594ad353aea39e4f1677efbb76cc /blowfish.h
parenta822fd07133ff7670032e43a7c82fdcce6f07fc8 (diff)
downloadcryptopp-27528ff85cb9978cb949e845b5aaefb21352d872.tar.gz
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
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 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";}
};