diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-24 11:00:35 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-24 11:00:35 -0400 |
commit | 18dcbdf514298d7097934d9a1d2e9032f14b54b7 (patch) | |
tree | 9e420d118ad0cde18ddec44457e6c4cd720232a0 /hc128.h | |
parent | d230999b408740d604b136bdfa28f1a60b0211fe (diff) | |
download | cryptopp-git-18dcbdf514298d7097934d9a1d2e9032f14b54b7.tar.gz |
Move input xor to ChaCha_OperateKeystream_SSE2
This picks up about 0.2 cpb in ChaCha::OperateKeystream. It may not sound like much but it puts SSE2 intrinsics version on par with the ASM version of Salsa20. Salsa20 leads ChaCha by 0.1 to 0.15 cpb, which equates to about 50 MB/s.
Diffstat (limited to 'hc128.h')
0 files changed, 0 insertions, 0 deletions