summaryrefslogtreecommitdiff
path: root/square.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 /square.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 'square.h')
-rw-r--r--square.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/square.h b/square.h
index c728927..d7e23c2 100644
--- a/square.h
+++ b/square.h
@@ -24,7 +24,7 @@ class Square : public Square_Info, public BlockCipherDocumentation
void UncheckedSetKey(const byte *userKey, unsigned int length, const NameValuePairs &params);
protected:
- FixedSizeSecBlock<word32[4], ROUNDS+1> roundkeys;
+ FixedSizeSecBlock<word32, 4*(ROUNDS+1)> m_roundkeys;
};
class CRYPTOPP_NO_VTABLE Enc : public Base