arm64/crypto: GHASH secure hash using ARMv8 Crypto Extensions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Mar 2014 19:53:05 +0000 (20:53 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 5 Jun 2014 15:55:08 +0000 (16:55 +0100)
commit5ead56a336d7bf9aaa73ec3432ea4d0acb3624af
tree84894f23c81af61e1faa94e4036b4962639e94b9
parente882c7d0126ca2849c3dd4873107d04dc9245ebc
arm64/crypto: GHASH secure hash using ARMv8 Crypto Extensions

This is a port to ARMv8 (Crypto Extensions) of the Intel implementation of the
GHASH Secure Hash (used in the Galois/Counter chaining mode). It relies on the
optional PMULL/PMULL2 instruction (polynomial multiply long, what Intel call
carry-less multiply).

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit fdd2389457b209a9723c3be818fcf301f35db906)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/Makefile
arch/arm64/crypto/ghash-ce-core.S [new file with mode: 0644]
arch/arm64/crypto/ghash-ce-glue.c [new file with mode: 0644]