diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-12 12:04:37 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-12 12:04:37 -0400 |
commit | 90e7b858148733bdd680586529c3681231101648 (patch) | |
tree | db66cb9907c10d5643488666cf1ab74f7a6a7b2a /strciphr.h | |
parent | 40d70375a99312e0b6a486804a4aa0a6a823510d (diff) | |
download | cryptopp-git-90e7b858148733bdd680586529c3681231101648.tar.gz |
Update documentation
Diffstat (limited to 'strciphr.h')
-rw-r--r-- | strciphr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -376,7 +376,7 @@ protected: unsigned int GetBufferByteSize(const PolicyInterface &policy) const {return policy.GetBytesPerIteration() * policy.GetIterationsToBuffer();}
inline byte * KeystreamBufferBegin() {return this->m_buffer.data();}
- inline byte * KeystreamBufferEnd() {return (this->m_buffer.data() + this->m_buffer.size());}
+ inline byte * KeystreamBufferEnd() {return (PtrAdd(this->m_buffer.data(), this->m_buffer.size()));}
SecByteBlock m_buffer;
size_t m_leftOver;
|