Commit 37c6fc32 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatar <syzbot+8ffb0839a24e9c6bfa76@syzkaller.appspotmail.com>
Reported-by: default avatarEdward Adam Davis <eadavis@qq.com>
Fixes: 662ea18d

 ("crypto: skcipher - Make use of internal state")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 0eaef675
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment