diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-21 10:42:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-22 12:30:19 +0800 |
commit | 37c6fc323a81a14612626a1eec64f4690d89f234 (patch) | |
tree | 781344412b17ce6709460b6a2c7790eb5fc59f78 /block | |
parent | crypto: stm32/crc32 - fix parsing list of devices (diff) | |
download | linux-37c6fc323a81a14612626a1eec64f4690d89f234.tar.gz linux-37c6fc323a81a14612626a1eec64f4690d89f234.tar.bz2 linux-37c6fc323a81a14612626a1eec64f4690d89f234.zip |
crypto: skcipher - Pass statesize for simple lskcipher instances
When ecb is used to wrap an lskcipher, the statesize isn't set
correctly. Fix this by making the simple instance creator set
the statesize.
Reported-by: syzbot+8ffb0839a24e9c6bfa76@syzkaller.appspotmail.com
Reported-by: Edward Adam Davis <eadavis@qq.com>
Fixes: 662ea18d089b ("crypto: skcipher - Make use of internal state")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions