Increase allocation size of FixedSizeAlignedSecBlock for State and ParameterBlock

This commit is contained in:
Jeffrey Walton 2016-05-22 10:36:03 -04:00
parent 733c78ba23
commit 09dc7caf25

View File

@ -223,8 +223,8 @@ protected:
void UncheckedSetKey(const byte* key, unsigned int length, const CryptoPP::NameValuePairs& params);
private:
FixedSizeAlignedSecBlock<State,1> m_state;
FixedSizeAlignedSecBlock<ParameterBlock,1> m_block;
FixedSizeAlignedSecBlock<State,2> m_state;
FixedSizeAlignedSecBlock<ParameterBlock,2> m_block;
AlignedSecByteBlock m_key;
word32 m_digestSize;
bool m_treeMode;