diff options
author | Zhang Zhijie <zhangzj@rock-chips.com> | 2019-04-12 17:16:33 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-22 07:37:37 +0200 |
commit | b7d2adfd0512a10757d216f60ecee50a1aa15b91 (patch) | |
tree | a421a2cee01fa24ccb45eba17ffd7d36b497f3bc /drivers/iommu/iommu.c | |
parent | 9a61ab6898671b205840f837a4ea840fb45da6ab (diff) | |
download | linux-stable-b7d2adfd0512a10757d216f60ecee50a1aa15b91.tar.gz linux-stable-b7d2adfd0512a10757d216f60ecee50a1aa15b91.tar.bz2 linux-stable-b7d2adfd0512a10757d216f60ecee50a1aa15b91.zip |
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: 433cd2c617bf ("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>
Diffstat (limited to 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions