summaryrefslogtreecommitdiff
path: root/tea.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-24 12:06:15 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-24 12:06:15 -0500
commit85993b2529a22ba58cf6ceb0ef178724a1fe5262 (patch)
tree13354f3a809fb8ea3e54c8a632ec23eaf710f12f /tea.cpp
parente872c8dc3afe3f2312fac826985bc833035168e4 (diff)
downloadcryptopp-git-85993b2529a22ba58cf6ceb0ef178724a1fe5262.tar.gz
Add xorInput and xorOutput flags to adv-simd classes
Analysis tools are generating findings when the pointer xorBlocks is used as the flag. The other missing piece is, xorBlocks is never NULL when either BT_XorInput or BT_XorOuput. But we don't know how to train the analyzers with the information, so we make it explicit with the boolean flags xorInput and xorOutput. Switching to the explicit flags costs us about 0.01 cpb on a modern Intel Core processor. In the typical case 0.01 is negligible.
Diffstat (limited to 'tea.cpp')
0 files changed, 0 insertions, 0 deletions