summaryrefslogtreecommitdiff
path: root/twofish.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2010-06-18 01:52:34 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2010-06-18 01:52:34 +0000
commit7cfef38e643e3371dd0e194526433665e8afe265 (patch)
tree4eed69d5867429e79628ab0c386092e5eb9ec1d7 /twofish.h
parent32ca65cd301bf4ff0159b028d87b0caa51962690 (diff)
downloadcryptopp-7cfef38e643e3371dd0e194526433665e8afe265.tar.gz
avoid SecBlock of arrays
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@485 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 969fdb2..9ba2903 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