crypto: atmel-{aes,tdes} - Do not save IV for ECB mode
authorTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 5 Dec 2019 09:54:00 +0000 (09:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:37:29 +0000 (04:37 -0800)
commit4c61ade8a88d9649e37bcb142edebda3b98c09e7
treead70e1feb45735493421775f116af98ac12a2735
parentab45cc58d935e60041c0d12bd556d5afc034e9d0
crypto: atmel-{aes,tdes} - Do not save IV for ECB mode

[ Upstream commit c65d123742a7bf2a5bc9fa8398e1fd2376eb4c43 ]

ECB mode does not use IV.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/atmel-aes.c
drivers/crypto/atmel-tdes.c