crypto: x86/poly1305 - expose existing driver as poly1305 library
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:23 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:41 +0000 (09:02 +0800)
commitf0e89bcfbb894e5844cd1bbf6b3cf7c63cb0f5ac
tree1eda107dc75a677f1c899cd4782758d5154bb598
parent1b2c6a5120489d41c8ea3b8dacd0b4586289b158
crypto: x86/poly1305 - expose existing driver as poly1305 library

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>
arch/x86/crypto/poly1305_glue.c
crypto/Kconfig
lib/crypto/Kconfig