OSDN Git Service

crypto: arm64 - implement SHA-512 using special instructions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 9 Jan 2018 18:23:02 +0000 (18:23 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jan 2018 11:52:24 +0000 (22:52 +1100)
commitbb6c8c467bce25ccd0c485b7c3214dde6b0bcb33
tree54ea7c0c8e2ff9f506375995bc17f122d12c5b46
parent5c8d850c961aa0812dfec2457418ae479eccec73
crypto: arm64 - implement SHA-512 using special instructions

Implement the SHA-512 using the new special instructions that have
been introduced as an optional extension in ARMv8.2.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/Makefile
arch/arm64/crypto/sha512-ce-core.S [new file with mode: 0644]
arch/arm64/crypto/sha512-ce-glue.c [new file with mode: 0644]