]> 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)
commitfdae213f48f60c9d357b5a9f20c5a2f8964d5844
tree3ba7770f3a9da5ade8b04b2100b05a79e1474f05
parent4449c13ebdb074d7aceb24f80009aafaed5b7929
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