summaryrefslogtreecommitdiff
path: root/crypto/sm2signature.asn1
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2024-02-21 17:07:44 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-02-24 08:37:24 +0800
commit266ededb2cc1b297708d68e98315573b9965f2b5 (patch)
tree8e4328e189c3dd1ecbd29e6c1d4c899641476a76 /crypto/sm2signature.asn1
parentfb73c2eabf9a5bc33d626154c1bbfb54a8f47278 (diff)
downloadlinux-crypto-266ededb2cc1b297708d68e98315573b9965f2b5.tar.gz
linux-crypto-266ededb2cc1b297708d68e98315573b9965f2b5.zip
crypto: lskcipher - Copy IV in lskcipher glue code always
The lskcipher glue code for skcipher needs to copy the IV every time rather than only on the first and last request. Otherwise those algorithms that use IV to perform chaining may break, e.g., CBC. This is because crypto_skcipher_import/export do not include the IV as part of the saved state. Reported-by: syzbot+b90b904ef6bdfdafec1d@syzkaller.appspotmail.com Fixes: 0707e88b0fc9 ("crypto: skcipher - Make use of internal state") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions