Add 2-way path for SSSE3 version of ChaCha20 master
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Thu, 7 Feb 2019 18:50:02 +0000 (20:50 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Thu, 7 Feb 2019 18:50:02 +0000 (20:50 +0200)
commitd455068988e5779b0200c51415ddab6b51e12dc4
tree736f9b4bbf59f813f3b8b97fe67dbc3341f118cd
parentafab94d222425ecb838eb56cb0723bdaf3e5de36
Add 2-way path for SSSE3 version of ChaCha20

* cipher/chacha20-amd64-ssse3.S (_gcry_chacha20_amd64_ssse3_blocks1)
(_gcry_chacha20_poly1305_amd64_ssse3_blocks1): Add 2-way code paths.
* cipher/chacha20.c (_gcry_chacha20_poly1305_encrypt): Add
preprosessing of 2 blocks with SSSE3.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/chacha20-amd64-ssse3.S
cipher/chacha20.c