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)
commit5b98ba44890dbedf9edc1b3c8dc4e6c51346ebab
tree588cb7e5183d7e194a94c944736f721bc425634c
parent2dc058c1ded93f8eed67d1078f496c2013b1587f
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