crypto: aes-generic - drop key expansion routine in favor of library version
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 2 Jul 2019 19:41:33 +0000 (21:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:56:06 +0000 (14:56 +1000)
commit5bb12d7825adf0e80b849a273834f3131a6cc4e1
tree588cb7e5183d7e194a94c944736f721bc425634c
parentc184472902d87189082e5a349051197e252ae9af
crypto: aes-generic - drop key expansion routine in favor of library version

Drop aes-generic's version of crypto_aes_expand_key(), and switch to
the key expansion routine provided by the AES library. AES key expansion
is not performance critical, and it is better to have a single version
shared by all AES implementations.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/aes_generic.c
include/crypto/aes.h