crypto: arm - add support for GHASH using ARMv8 Crypto Extensions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 10 Mar 2015 08:47:48 +0000 (09:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2015 10:13:36 +0000 (21:13 +1100)
commitf1e866b10676faf8b9092cb821a9ac8acf31dbd8
treebd2c9bd2e28e0ba1449a6a8b46fa779b34e87e18
parent86464859cc77ecfd989ad5c912bef167b1128b0b
crypto: arm - add support for GHASH using ARMv8 Crypto Extensions

This implements the GHASH hash algorithm (as used by the GCM AEAD
chaining mode) using the AArch32 version of the 64x64 to 128 bit
polynomial multiplication instruction (vmull.p64) that is part of
the ARMv8 Crypto Extensions.

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