1
0
Fork 0
alistair23-linux/drivers/crypto/rockchip
Zhang Zhijie f0cfd57b43 crypto: rockchip - update IV buffer to contain the next IV
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>
2019-04-18 22:15:04 +08:00
..
Makefile crypto: rockchip - add hash support for crypto engine in rk3288 2016-02-28 03:26:29 +08:00
rk3288_crypto.c crypto: rockchip - fix scatterlist nents error 2019-02-22 12:47:26 +08:00
rk3288_crypto.h crypto: rockchip - update new iv to device in multiple operations 2019-02-22 12:47:26 +08:00
rk3288_crypto_ablkcipher.c crypto: rockchip - update IV buffer to contain the next IV 2019-04-18 22:15:04 +08:00
rk3288_crypto_ahash.c crypto: rockchip - fix scatterlist nents error 2019-02-22 12:47:26 +08:00