summaryrefslogtreecommitdiffstats
path: root/lib/crypto/chacha20poly1305.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-07-07 08:32:03 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-16 13:49:04 +0200
commitf441ba2ad34102692b9836923776f017b40afc88 (patch)
tree9be4d134c7bea8e8696048aaf623037c40a6628d /lib/crypto/chacha20poly1305.c
parentcrypto: sahara - permit asynchronous skcipher as fallback (diff)
downloadlinux-f441ba2ad34102692b9836923776f017b40afc88.tar.xz
linux-f441ba2ad34102692b9836923776f017b40afc88.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions