crypto: x86/aes-ni - use AES library instead of single-use AES cipher
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 4 Sep 2019 17:56:32 +0000 (10:56 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Sep 2019 13:48:41 +0000 (23:48 +1000)
commitf6680cbdb258709fe650d1e52ee1f4b9eee1ca96
tree74e5da614ab55494c6b3ddb249fb4e84893089cd
parentc552ffb5c93d9d65aaf34f5f001c4e7e8484ced1
crypto: x86/aes-ni - use AES library instead of single-use AES cipher

The RFC4106 key derivation code instantiates an AES cipher transform
to encrypt only a single block before it is freed again. Switch to
the new AES library which is more suitable for such use cases.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c