linux/drivers/crypto/tegra
Chen Ridong 1dbc270f9d crypto: tegra - do not transfer req when tegra init fails
[ Upstream commit 15589bda46 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-08 09:57:28 +01: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 2025-02-08 09:57:28 +01:00
tegra-se-hash.c crypto: tegra - do not transfer req when tegra init fails 2025-02-08 09:57:28 +01: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 an incorrect iommu_fwspec_free() call in tegra_se_remove() 2024-05-31 17:34:56 +08:00
tegra-se.h crypto: tegra - Add Tegra Security Engine driver 2024-04-12 15:07:51 +08:00