OSDN Git Service

crypto: arm64/poly1305 - incorporate OpenSSL/CRYPTOGAMS NEON implementation
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:24 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:41 +0000 (09:02 +0800)
commitf569ca16475155013525686d0f73bc379c67e635
treea18c14255ddab0a5612c4de784fd0380208b816c
parentf0e89bcfbb894e5844cd1bbf6b3cf7c63cb0f5ac
crypto: arm64/poly1305 - incorporate OpenSSL/CRYPTOGAMS NEON implementation

This is a straight import of the OpenSSL/CRYPTOGAMS Poly1305 implementation
for NEON authored by Andy Polyakov, and contributed by him to the OpenSSL
project. The file 'poly1305-armv8.pl' is taken straight from this upstream
GitHub repository [0] at commit ec55a08dc0244ce570c4fc7cade330c60798952f,
and already contains all the changes required to build it as part of a
Linux kernel module.

[0] https://github.com/dot-asm/cryptogams

Co-developed-by: Andy Polyakov <appro@cryptogams.org>
Signed-off-by: Andy Polyakov <appro@cryptogams.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/Makefile
arch/arm64/crypto/poly1305-armv8.pl [new file with mode: 0644]
arch/arm64/crypto/poly1305-core.S_shipped [new file with mode: 0644]
arch/arm64/crypto/poly1305-glue.c [new file with mode: 0644]
lib/crypto/Kconfig