Home
last modified time | relevance | path

Searched hist:"5 eedf315f27d3990f4d00c7cd3b9751e184a83b1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/crypto/
H A Daes-ce-glue.cdiff 5eedf315f27d3990f4d00c7cd3b9751e184a83b1 Tue Jul 02 14:41:38 CDT 2019 Ard Biesheuvel <ard.biesheuvel@linaro.org> crypto: arm/aes-ce - provide a synchronous version of ctr(aes)

AES in CTR mode is used by modes such as GCM and CCM, which are often
used in contexts where only synchronous ciphers are permitted. So
provide a synchronous version of ctr(aes) 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. We have a
helper for this now in the AES library, so wire that up.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>