diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-11 06:59:44 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-11 06:59:44 -0400 |
commit | 3ff7d7f0286af27e04bff8df3bde9726b1d91e66 (patch) | |
tree | a88531e9f5f10800659a05ea35a0c22fbf910833 /rijndael.h | |
parent | bdac2de36ea56953fc58cb5eccfc66a28bcbe0cc (diff) | |
download | cryptopp-git-3ff7d7f0286af27e04bff8df3bde9726b1d91e66.tar.gz |
Add ARM AES asm implementation from Cryptogams (GH #683)
Diffstat (limited to 'rijndael.h')
-rw-r--r-- | rijndael.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -45,6 +45,7 @@ class CRYPTOPP_DLL Rijndael : public Rijndael_Info, public BlockCipherDocumentat public:
void UncheckedSetKey(const byte *userKey, unsigned int keyLength, const NameValuePairs ¶ms);
std::string AlgorithmProvider() const;
+ unsigned int OptimalDataAlignment() const;
protected:
static void FillEncTable();
@@ -57,7 +58,7 @@ class CRYPTOPP_DLL Rijndael : public Rijndael_Info, public BlockCipherDocumentat static const word32 rcon[];
unsigned int m_rounds;
- FixedSizeAlignedSecBlock<word32, 4*15> m_key;
+ SecBlock<word32, AllocatorWithCleanup<word32, true> > m_key;
mutable SecByteBlock m_aliasBlock;
};
|