diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-07-02 15:41:33 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-07-26 00:56:06 -0400 |
commit | 5bb12d7825adf0e80b849a273834f3131a6cc4e1 (patch) | |
tree | 588cb7e5183d7e194a94c944736f721bc425634c /include/crypto | |
parent | c184472902d87189082e5a349051197e252ae9af (diff) |
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>
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/aes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/aes.h b/include/crypto/aes.h index d0067fca0cd0..0a64a977f9b3 100644 --- a/include/crypto/aes.h +++ b/include/crypto/aes.h | |||
@@ -35,8 +35,6 @@ extern const u32 crypto_il_tab[4][256] ____cacheline_aligned; | |||
35 | 35 | ||
36 | int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, | 36 | int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, |
37 | unsigned int key_len); | 37 | unsigned int key_len); |
38 | int crypto_aes_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key, | ||
39 | unsigned int key_len); | ||
40 | 38 | ||
41 | /** | 39 | /** |
42 | * aes_expandkey - Expands the AES key as described in FIPS-197 | 40 | * aes_expandkey - Expands the AES key as described in FIPS-197 |