]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: blake2s - x86_64 SIMD implementation
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 8 Nov 2019 12:22:31 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:43 +0000 (09:02 +0800)
commiteca513abaffd6f3c10bb00bc4c92af4800cb529a
tree3ba7770f3a9da5ade8b04b2100b05a79e1474f05
parentd9112c4dd69e18108b67340406eeff5d55e9f74d
crypto: blake2s - x86_64 SIMD implementation

These implementations from Samuel Neves support AVX and AVX-512VL.
Originally this used AVX-512F, but Skylake thermal throttling made
AVX-512VL more attractive and possible to do with negligable difference.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Samuel Neves <sneves@dei.uc.pt>
Co-developed-by: Samuel Neves <sneves@dei.uc.pt>
[ardb: move to arch/x86/crypto, wire into lib/crypto framework]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Makefile
arch/x86/crypto/blake2s-core.S [new file with mode: 0644]
arch/x86/crypto/blake2s-glue.c [new file with mode: 0644]
crypto/Kconfig