]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm/ghash - provide a synchronous version
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 2 Jul 2019 19:41:40 +0000 (21:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:58:11 +0000 (14:58 +1000)
commitf2f9bd11033e74b96330a5ebd50614313ee8cf9f
tree7842f63a4f988e79a0e91ecf828e8d770e076222
parent2465ff3f5a196bba2ac7f404502f26e771ff4a88
crypto: arm/ghash - provide a synchronous version

GHASH is used by the GCM mode, which is often used in contexts where
only synchronous ciphers are permitted. So provide a synchronous version
of GHASH based on the existing code. This requires a non-SIMD fallback
to deal with invocations occurring from a context where SIMD instructions
may not be used.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/ghash-ce-glue.c