diff options
author | Akhil R <akhilrajeev@nvidia.com> | 2025-02-24 14:46:07 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:39:18 +0200 |
commit | 13a2312c53528865288ac1e7badf1d3360b40c45 (patch) | |
tree | c2c7acc005f6cff7de5432ecd45993b935e70dc3 /drivers/fpga/xilinx-spi.c | |
parent | 241d9965109b4a5805cac78248a80313084ce1a1 (diff) |
crypto: tegra - Fix CMAC intermediate result handling
[ Upstream commit ce390d6c2675d2e24d798169a1a0e3cdbc076907 ]
Saving and restoring of the intermediate results are needed if there is
context switch caused by another ongoing request on the same engine.
This is therefore not only to support import/export functionality.
Hence, save and restore the intermediate result for every non-first task.
Fixes: 0880bb3b00c8 ("crypto: tegra - Add Tegra Security Engine driver")
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions