linux/drivers/crypto/tegra
Akhil R 1ddaff40c0 crypto: tegra - Fix IV usage for AES ECB
Modifying the crypto_request turns out to be not the right way to handle
the stale value issue with the IV. Though the IV is not used for AES ECB,
it eventually get used in algorithms like LRW in the next step after
AES ECB encryption/decryption. Setting req->iv to NULL breaks the
implementation of such algorithms. Hence modify only the local reqctx
to check for IV.

Fixes: bde5582208 ("crypto: tegra - Set IV to NULL explicitly for AES ECB")
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-04-07 13:22:25 +08:00
..
Makefile
tegra-se-aes.c crypto: tegra - Fix IV usage for AES ECB 2025-04-07 13:22:25 +08:00
tegra-se-hash.c crypto: tegra - Fix format specifier in tegra_sha_prep_cmd() 2025-03-21 17:33:38 +08:00
tegra-se-key.c crypto: tegra - Reserve keyslots to allocate dynamically 2025-03-08 16:23:22 +08:00
tegra-se-main.c crypto: tegra - Use separate buffer for setkey 2025-03-08 16:22:23 +08:00
tegra-se.h crypto: tegra - Reserve keyslots to allocate dynamically 2025-03-08 16:23:22 +08:00