]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: poly1305 - move core routines into a separate library
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:19 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:41 +0000 (09:02 +0800)
commitbbe2ae445405c82fb3762ef043761c90dd622c22
tree2344893a15adb14df257f4375a306353cf0dfdab
parent4daf2586de83a40dfdcfa42c8835a02aa7395b0c
crypto: poly1305 - move core routines into a separate library

Move the core Poly1305 routines shared between the generic Poly1305
shash driver and the Adiantum and NHPoly1305 drivers into a separate
library so that using just this pieces does not pull in the crypto
API pieces of the generic Poly1305 routine.

In a subsequent patch, we will augment this generic library with
init/update/final routines so that Poyl1305 algorithm can be used
directly without the need for using the crypto API's shash abstraction.

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
crypto/adiantum.c
crypto/nhpoly1305.c
crypto/poly1305_generic.c
include/crypto/internal/poly1305.h [new file with mode: 0644]
include/crypto/poly1305.h
lib/crypto/Kconfig
lib/crypto/Makefile
lib/crypto/poly1305.c [new file with mode: 0644]