commit | f441ba2ad34102692b9836923776f017b40afc88 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ardb@kernel.org> | Tue Jul 07 09:32:03 2020 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jul 16 21:49:04 2020 +1000 |
tree | 9be4d134c7bea8e8696048aaf623037c40a6628d | |
parent | 56ca499f1b58235d5b3f247a887cc636d849d351 [diff] |
crypto: mediatek - use AES library for GCM key derivation The Mediatek accelerator driver calls into a dynamically allocated skcipher of the ctr(aes) variety to perform GCM key derivation, which involves AES encryption of a single block consisting of NUL bytes. There is no point in using the skcipher API for this, so use the AES library interface instead. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>