summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2019-11-08 13:22:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-07-07 13:26:36 +0200
commitbdaceb44e283aab089a7cd8e52a9a6ea92de7093 (patch)
tree034d9ce05aa100ba5c13055156491d28b7d19c2c
parent7457767289b78553f773d291f5ac1426b3d7f727 (diff)
downloadlinux-crypto-bdaceb44e283aab089a7cd8e52a9a6ea92de7093.tar.gz
linux-crypto-bdaceb44e283aab089a7cd8e52a9a6ea92de7093.zip
crypto: x86/poly1305 - expose existing driver as poly1305 library
commit eaa511dd305fc92c64b4a2bc740e80034176376f upstream. Implement the arch init/update/final Poly1305 library routines in the accelerated SIMD driver for x86 so they are accessible to users of the Poly1305 library interface as well. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 96bba422..aa1d3478 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -698,6 +698,7 @@ config CRYPTO_POLY1305_X86_64
tristate "Poly1305 authenticator algorithm (x86_64/SSE2/AVX2)"
depends on X86 && 64BIT
select CRYPTO_LIB_POLY1305_GENERIC
+ select CRYPTO_ARCH_HAVE_LIB_POLY1305
help
Poly1305 authenticator algorithm, RFC7539.