crypto: aes - create AES library based on the fixed time AES code
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 2 Jul 2019 19:41:22 +0000 (21:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:55:33 +0000 (14:55 +1000)
commite59c1c98745637796df824c0177f279b6e9cad94
tree7cd4e284c1634defc73581c5ac879cb17bb2c907
parentb158fcbba857c71ffb05ab254aff3b32b5e3cfc3
crypto: aes - create AES library based on the fixed time AES code

Take the existing small footprint and mostly time invariant C code
and turn it into a AES library that can be used for non-performance
critical, casual use of AES, and as a fallback for, e.g., SIMD code
that needs a secondary path that can be taken in contexts where the
SIMD unit is off limits (e.g., in hard interrupts taken from kernel
context)

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/aes_ti.c
include/crypto/aes.h
lib/crypto/Makefile
lib/crypto/aes.c [new file with mode: 0644]