summaryrefslogtreecommitdiff
path: root/mars.h
diff options
context:
space:
mode:
authorUri Blumenthal <uri@ll.mit.edu>2016-09-16 12:36:05 -0400
committerUri Blumenthal <uri@ll.mit.edu>2016-09-16 12:36:05 -0400
commit8ad82f3f660eabe7b63218db8c1d79340dac4c76 (patch)
tree83fe558071780e8c7a4a366bd85fea09c662d43c /mars.h
parent58c33810e71f582f73dd49782b2350cba4f5be6a (diff)
downloadcryptopp-git-8ad82f3f660eabe7b63218db8c1d79340dac4c76.tar.gz
$%^@! 448 bits is 56 bytes, not 58!!! Fixing that oversight.
Diffstat (limited to 'mars.h')
-rw-r--r--mars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mars.h b/mars.h
index f2502e62..0e41cd16 100644
--- a/mars.h
+++ b/mars.h
@@ -13,7 +13,7 @@ NAMESPACE_BEGIN(CryptoPP)
//! \class MARS_Info
//! \brief MARS block cipher information
-struct MARS_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 58, 8>
+struct MARS_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 56, 8>
{
CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "MARS";}
};