summaryrefslogtreecommitdiff
path: root/twofish.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2010-06-18 01:52:34 +0000
committerweidai <weidai11@users.noreply.github.com>2010-06-18 01:52:34 +0000
commit03cfaa0e4614c6cc66ffd7c473a853597fd79919 (patch)
tree4eed69d5867429e79628ab0c386092e5eb9ec1d7 /twofish.h
parent8af9520702f19e037458d3059ee0fafef2643875 (diff)
downloadcryptopp-git-03cfaa0e4614c6cc66ffd7c473a853597fd79919.tar.gz
avoid SecBlock of arrays
Diffstat (limited to 'twofish.h')
-rw-r--r--twofish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/twofish.h b/twofish.h
index 969fdb2e..9ba2903b 100644
--- a/twofish.h
+++ b/twofish.h
@@ -31,7 +31,7 @@ class Twofish : public Twofish_Info, public BlockCipherDocumentation
static const word32 mds[4][256];
FixedSizeSecBlock<word32, 40> m_k;
- FixedSizeSecBlock<word32[256], 4> m_s;
+ FixedSizeSecBlock<word32, 4*256> m_s;
};
class CRYPTOPP_NO_VTABLE Enc : public Base