crypto: s5p - update iv after AES-CBC op end
authorKamil Konieczny <k.konieczny@partner.samsung.com>
Tue, 19 Feb 2019 16:02:32 +0000 (17:02 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Feb 2019 06:17:59 +0000 (14:17 +0800)
commite8e3c1ca57d4dbee0d23b5e17787bb7385a8c928
tree53cf8355e2f4e15df0b3a72a07ae2a68d5d3f81c
parent7748168c66404a3ee732972a3a55b5332245eb25
crypto: s5p - update iv after AES-CBC op end

Fix bug "s5p-sss crypto driver doesn't set next AES-CBC IV". While at this,
fix also AES-CTR mode. Tested on Odroid U3 with Eric Biggers branch
"iv-out-testing".

Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com>
Reported-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/s5p-sss.c