commit | 6ecc9d9ff91ff26769e58164b6216c6189cb8302 | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnacek@gmail.com> | Fri May 11 14:19:12 2018 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat May 19 00:15:35 2018 +0800 |
tree | 50cebb838d99b9e520af30f0842177d196aba3a7 | |
parent | 56e8e57fc3a707bf4f23f88c4822e6cbc9a950dc [diff] |
crypto: x86 - Add optimized MORUS implementations This patch adds optimized implementations of MORUS-640 and MORUS-1280, utilizing the SSE2 and AVX2 x86 extensions. For MORUS-1280 (which operates on 256-bit blocks) we provide both AVX2 and SSE2 implementation. Although SSE2 MORUS-1280 is slower than AVX2 MORUS-1280, it is comparable in speed to the SSE2 MORUS-640. Signed-off-by: Ondrej Mosnacek <omosnacek@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>