]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit570979fdd492406118d6e402007f62aa1a266fcd
treebd2c9bd2e28e0ba1449a6a8b46fa779b34e87e18
parente646ab9379d9a37a27092c5391f6127e3f823979
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]