diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-10-03 21:49:59 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-10-03 21:49:59 -0400 |
commit | 73928489f97d8dc45bf7a3fe9fe275cd1adb5d97 (patch) | |
tree | 3c0e07af14aaf71fc0645fe2366d976669d56d30 /filters.h | |
parent | 04d15304f104cad3f5c899724615c8266788cb11 (diff) | |
download | cryptopp-git-73928489f97d8dc45bf7a3fe9fe275cd1adb5d97.tar.gz |
Removed m_authenticated member variable
Add m_isSpecial, m_mandatoryBlockSize and m_optimalBufferSize members. The additional members stabilize running times and avoid some unnecessary calculations. Previously we were calculating some values in each call to Put and LastPut.
Diffstat (limited to 'filters.h')
-rw-r--r-- | filters.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -547,9 +547,10 @@ protected: StreamTransformation &m_cipher;
BlockPaddingScheme m_padding;
+ unsigned int m_mandatoryBlockSize;
unsigned int m_optimalBufferSize;
- // TODO: do we need this?
- bool m_authenticated;
+ unsigned int m_reservedBufferSize;
+ bool m_isSpecial;
};
//! \class HashFilter
|