linux-next/drivers/crypto/tegra
Chen Ridong 15589bda46 crypto: tegra - do not transfer req when tegra init fails
The tegra_cmac_init or tegra_sha_init function may return an error when
memory is exhausted. It should not transfer the request when they return
an error.

Fixes: 0880bb3b00 ("crypto: tegra - Add Tegra Security Engine driver")
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Acked-by: Akhil R <akhilrajeev@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-12-10 13:44:20 +08:00
..
Makefile crypto: tegra - Add Tegra Security Engine driver 2024-04-12 15:07:51 +08:00
tegra-se-aes.c crypto: tegra - do not transfer req when tegra init fails 2024-12-10 13:44:20 +08:00
tegra-se-hash.c crypto: tegra - do not transfer req when tegra init fails 2024-12-10 13:44:20 +08:00
tegra-se-key.c crypto: tegra - Add Tegra Security Engine driver 2024-04-12 15:07:51 +08:00
tegra-se-main.c crypto: tegra - remove unneeded crypto_engine_stop() call 2024-10-28 18:33:11 +08:00
tegra-se.h crypto: tegra - Add Tegra Security Engine driver 2024-04-12 15:07:51 +08:00