summaryrefslogtreecommitdiff
path: root/crypto/xcbc.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-11-08 23:55:16 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-11-09 17:35:43 +0800
commit4b66bf1800121546dbe593302b162f11c65300d3 (patch)
tree4639b5954f95b89ffe59c67b3c9f6ba78794dab7 /crypto/xcbc.c
parentc7ef39a437ecd8db2f7f3c7b36cbcc1eeb525636 (diff)
downloadlinux-crypto-4b66bf1800121546dbe593302b162f11c65300d3.tar.gz
linux-crypto-4b66bf1800121546dbe593302b162f11c65300d3.zip
crypto: simd - correctly take reqsize of wrapped skcipher into account
The simd wrapper's skcipher request context structure consists of a single subrequest whose size is taken from the subordinate skcipher. However, in simd_skcipher_init(), the reqsize that is retrieved is not from the subordinate skcipher but from the cryptd request structure, whose size is completely unrelated to the actual wrapped skcipher. Reported-by: Qian Cai <cai@gmx.us> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Qian Cai <cai@gmx.us> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions