summaryrefslogtreecommitdiff
path: root/strciphr.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-02-13 21:18:43 -0500
committerGitHub <noreply@github.com>2022-02-13 21:18:43 -0500
commitb54a41d9f21112f7230f972295f6bc7232504e1c (patch)
tree4756d4489fc0d8a3392bd87dc62d6607b58ad0d3 /strciphr.h
parent711e79f102876801ab4e89724f45fd8bd1d1541c (diff)
downloadcryptopp-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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/strciphr.h b/strciphr.h
index ad905eeb..710944fc 100644
--- a/strciphr.h
+++ b/strciphr.h
@@ -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 &params);
- // m_tempOutString added due to GH #1010
- AlignedSecByteBlock m_tempOutString;
size_t m_leftOver;
};