summaryrefslogtreecommitdiff
path: root/serpent.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-04-16 00:35:10 +0000
committerweidai <weidai11@users.noreply.github.com>2007-04-16 00:35:10 +0000
commitf42ff7fc188affe6ec32d2a975687323f8e74563 (patch)
tree2cff91f8f17a17088f617fe7bd1ebcfffa105bf5 /serpent.h
parentc46c9fbc2be9ff8d0d97236bd78b2be4a74b754b (diff)
downloadcryptopp-git-f42ff7fc188affe6ec32d2a975687323f8e74563.tar.gz
reduce memory usage. move sbox macros to serpentp.h
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 6aef38e7..39e63d04 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