aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorAkhil R <[email protected]>2025-03-26 14:51:10 +0000
committerHerbert Xu <[email protected]>2025-04-07 05:22:25 +0000
commit1ddaff40c08abb926be5ba713c5efc412d0836c5 (patch)
treeabf465196e8002afd4adeaed0a0c1adc08429411 /drivers/fpga/tests/fpga-mgr-test.c
parentLinux 6.15-rc1 (diff)
downloadkernel-1ddaff40c08abb926be5ba713c5efc412d0836c5.tar.gz
kernel-1ddaff40c08abb926be5ba713c5efc412d0836c5.zip
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: bde558220866 ("crypto: tegra - Set IV to NULL explicitly for AES ECB") Signed-off-by: Akhil R <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions