On Wed, Mar 26, 2025 at 08:21:10PM +0530, Akhil R wrote: > 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 <akhilrajeev@xxxxxxxxxx> > --- > drivers/crypto/tegra/tegra-se-aes.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt