android_kernel_xiaomi_sm7250/drivers/crypto/rockchip
Zhang Zhijie b7d2adfd05 crypto: rockchip - update IV buffer to contain the next IV
commit f0cfd57b43fec65761ca61d3892b983a71515f23 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_ablkcipher.c crypto: rockchip - update IV buffer to contain the next IV 2019-05-22 07:37:37 +02:00
rk3288_crypto_ahash.c
rk3288_crypto.c
rk3288_crypto.h