WSL2-Linux-Kernel/drivers/crypto/mediatek
Ard Biesheuvel f441ba2ad3 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>
2020-07-16 21:49:04 +10:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mtk-aes.c crypto: mediatek - use AES library for GCM key derivation 2020-07-16 21:49:04 +10:00
mtk-platform.c crypto: mediatek - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:12:00 +10:00
mtk-platform.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mtk-regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
mtk-sha.c crypto: mediatek - use crypto_shash_tfm_digest() 2020-05-08 15:32:13 +10:00