Forked from
drm / msm
Source project has a limited visibility.
-
Herbert Xu authored
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: 662ea18d ("crypto: skcipher - Make use of internal state") Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Herbert Xu authoredWhen 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: 662ea18d ("crypto: skcipher - Make use of internal state") Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>