arm64/crypto: improve performance of GHASH algorithm
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 16 Jun 2014 10:02:16 +0000 (11:02 +0100)
committerJP Abgrall <jpa@google.com>
Thu, 28 Aug 2014 17:22:25 +0000 (10:22 -0700)
commit945ce0a7bdc63b712f332848c51d5505841d50e0
treeb7c134dceb8729e2870488d5f7af10c6c738306f
parent0680e92ef3a88e4168aee4cf1b95130373f25b25
arm64/crypto: improve performance of GHASH algorithm

This patches modifies the GHASH secure hash implementation to switch to a
faster, polynomial multiplication based reduction instead of one that uses
shifts and rotates.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/crypto/ghash-ce-core.S
arch/arm64/crypto/ghash-ce-glue.c