arm64/crypto: improve performance of GHASH algorithm
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 16 Jun 2014 10:02:16 +0000 (11:02 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Jun 2014 11:40:54 +0000 (12:40 +0100)
commitb913a6404ce2b7d10a735834218d3c1e1bceff2a
tree5d2736f6de8a7600c99e471dfddc6d9a5ed43b2d
parent6aa8b209f5ef3610d470c519ddd6e6b47e9f6248
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