diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-11-08 23:55:16 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-11-09 17:35:43 +0800 |
commit | 4b66bf1800121546dbe593302b162f11c65300d3 (patch) | |
tree | 4639b5954f95b89ffe59c67b3c9f6ba78794dab7 /crypto/async_tx/raid6test.c | |
parent | c7ef39a437ecd8db2f7f3c7b36cbcc1eeb525636 (diff) | |
download | linux-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 '')
0 files changed, 0 insertions, 0 deletions