]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: poly1305 - expose init/update/final library interface
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:21 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:41 +0000 (09:02 +0800)
commit26051749bee3d7167636e3a65eadde471dd89d7d
tree9ad12ad3cad4006d7f348dec1e69d308163e7a66
parent67b8dab45e2943c717ea85c86d43286cca17b91f
crypto: poly1305 - expose init/update/final library interface

Expose the existing generic Poly1305 code via a init/update/final
library interface so that callers are not required to go through
the crypto API's shash abstraction to access it. At the same time,
make some preparations so that the library implementation can be
superseded by an accelerated arch-specific version in the future.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/poly1305_generic.c
include/crypto/poly1305.h
lib/crypto/Kconfig
lib/crypto/poly1305.c