diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-02-13 21:18:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 21:18:43 -0500 |
commit | b54a41d9f21112f7230f972295f6bc7232504e1c (patch) | |
tree | 4756d4489fc0d8a3392bd87dc62d6607b58ad0d3 /strciphr.h | |
parent | 711e79f102876801ab4e89724f45fd8bd1d1541c (diff) | |
download | cryptopp-git-b54a41d9f21112f7230f972295f6bc7232504e1c.tar.gz |
Try fix ProcessData in CFB_CipherTemplate and AdditiveCipherTemplate
This commit attempts to restore performance while taming the optimizer.
Also see GH #683, GH #1010, GH #1088, GH #1103.
Diffstat (limited to 'strciphr.h')
-rw-r--r-- | strciphr.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -394,8 +394,7 @@ protected: inline byte * KeystreamBufferBegin() {return this->m_buffer.data();}
inline byte * KeystreamBufferEnd() {return (PtrAdd(this->m_buffer.data(), this->m_buffer.size()));}
- // m_tempOutString added due to GH #1010
- AlignedSecByteBlock m_buffer, m_tempOutString;
+ AlignedSecByteBlock m_buffer;
size_t m_leftOver;
};
@@ -646,8 +645,6 @@ protected: void UncheckedSetKey(const byte *key, unsigned int length, const NameValuePairs ¶ms);
- // m_tempOutString added due to GH #1010
- AlignedSecByteBlock m_tempOutString;
size_t m_leftOver;
};
|