diff options
author | Ard Biesheuvel | 2019-11-08 13:22:23 +0100 |
---|---|---|
committer | Herbert Xu | 2019-11-17 09:02:41 +0800 |
commit | f0e89bcfbb894e5844cd1bbf6b3cf7c63cb0f5ac (patch) | |
tree | 1eda107dc75a677f1c899cd4782758d5154bb598 /lib/crypto | |
parent | 1b2c6a5120489d41c8ea3b8dacd0b4586289b158 (diff) |
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>
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index a731ea36bd5c..181754615f73 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -39,6 +39,7 @@ config CRYPTO_LIB_DES config CRYPTO_LIB_POLY1305_RSIZE int + default 4 if X86_64 default 1 config CRYPTO_ARCH_HAVE_LIB_POLY1305 |