summaryrefslogtreecommitdiff
path: root/serpent.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:35:10 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:35:10 +0000
commit995b872a537679a0554f6c74dc5f132f62788c23 (patch)
tree2cff91f8f17a17088f617fe7bd1ebcfffa105bf5 /serpent.h
parent866f75e49a3f1a83ad937acb6dd66f84fe422d8e (diff)
downloadcryptopp-995b872a537679a0554f6c74dc5f132f62788c23.tar.gz
reduce memory usage. move sbox macros to serpentp.h
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@312 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'serpent.h')
-rw-r--r--serpent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/serpent.h b/serpent.h
index 6aef38e..39e63d0 100644
--- a/serpent.h
+++ b/serpent.h
@@ -24,7 +24,7 @@ class Serpent : public Serpent_Info, public BlockCipherDocumentation
void UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &params);
protected:
- FixedSizeSecBlock<word32, 140> m_key;
+ FixedSizeSecBlock<word32, 33*4> m_key;
};
class CRYPTOPP_NO_VTABLE Enc : public Base