diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-01-23 21:15:26 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-01-23 21:15:26 -0500 |
commit | 01136e2c7be25cc857dbad274329e51bb8144a83 (patch) | |
tree | c86bf51c83763dfd3bcb364cb153f979222d2586 /aria.h | |
parent | 675575d96039ff840df7519ef9cfdd423a73d7df (diff) | |
download | cryptopp-git-01136e2c7be25cc857dbad274329e51bb8144a83.tar.gz |
Clear clang-tidy warnings
Diffstat (limited to 'aria.h')
-rw-r--r-- | aria.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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;
};
|