summaryrefslogtreecommitdiff
path: root/aria.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-23 21:15:26 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-23 21:15:26 -0500
commit01136e2c7be25cc857dbad274329e51bb8144a83 (patch)
treec86bf51c83763dfd3bcb364cb153f979222d2586 /aria.h
parent675575d96039ff840df7519ef9cfdd423a73d7df (diff)
downloadcryptopp-git-01136e2c7be25cc857dbad274329e51bb8144a83.tar.gz
Clear clang-tidy warnings
Diffstat (limited to 'aria.h')
-rw-r--r--aria.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/aria.h b/aria.h
index ca3f3b81..ebc44f08 100644
--- a/aria.h
+++ b/aria.h
@@ -50,8 +50,11 @@ public:
private:
// Reference implementation allocates a table of 17 round keys.
- FixedSizeAlignedSecBlock<byte, 16*17> m_rk; // round keys
- FixedSizeAlignedSecBlock<word32, 4*7> m_w; // w0, w1, w2, w3, t and u
+ typedef SecBlock<byte, AllocatorWithCleanup<byte, true> > AlignedByteBlock;
+ typedef SecBlock<word32, AllocatorWithCleanup<word32, true> > AlignedWordBlock;
+
+ AlignedByteBlock m_rk; // round keys
+ AlignedWordBlock m_w; // w0, w1, w2, w3, t and u
unsigned int m_rounds;
};