linux/drivers/crypto/tegra
Eric Biggers 4b56770d34 crypto: tegra - Add missing CRYPTO_ALG_ASYNC
The tegra crypto driver failed to set the CRYPTO_ALG_ASYNC on its
asynchronous algorithms, causing the crypto API to select them for users
that request only synchronous algorithms.  This causes crashes (at
least).  Fix this by adding the flag like what the other drivers do.
Also remove the unnecessary CRYPTO_ALG_TYPE_* flags, since those just
get ignored and overridden by the registration function anyway.

Reported-by: Zorro Lang <zlang@redhat.com>
Closes: https://lore.kernel.org/r/20260314080937.pghb4aa7d4je3mhh@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com
Fixes: 0880bb3b00 ("crypto: tegra - Add Tegra Security Engine driver")
Cc: stable@vger.kernel.org
Cc: Akhil R <akhilrajeev@nvidia.com>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2026-03-26 18:10:58 +09:00
..
Makefile
tegra-se-aes.c crypto: tegra - Add missing CRYPTO_ALG_ASYNC 2026-03-26 18:10:58 +09:00
tegra-se-hash.c crypto: tegra - Add missing CRYPTO_ALG_ASYNC 2026-03-26 18:10:58 +09:00
tegra-se-key.c crypto: tegra - Reserve keyslots to allocate dynamically 2025-03-08 16:23:22 +08:00
tegra-se-main.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
tegra-se.h crypto: tegra - Reserve keyslots to allocate dynamically 2025-03-08 16:23:22 +08:00