linux-stable/drivers/crypto/rockchip
Zhang Zhijie b7d2adfd05 crypto: rockchip - update IV buffer to contain the next IV
commit f0cfd57b43 upstream.

The Kernel Crypto API request output the next IV data to
IV buffer for CBC implementation. So the last block data of
ciphertext should be copid into assigned IV buffer.

Reported-by: Eric Biggers <ebiggers@google.com>
Fixes: 433cd2c617 ("crypto: rockchip - add crypto driver for rk3288")
Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-22 07:37:37 +02:00
..
Makefile
rk3288_crypto.c crypto: rockchip - fix scatterlist nents error 2019-03-23 20:09:41 +01:00
rk3288_crypto.h crypto: rockchip - update new iv to device in multiple operations 2019-03-23 20:09:41 +01:00
rk3288_crypto_ablkcipher.c crypto: rockchip - update IV buffer to contain the next IV 2019-05-22 07:37:37 +02:00
rk3288_crypto_ahash.c crypto: rockchip - fix scatterlist nents error 2019-03-23 20:09:41 +01:00