An error occurred while fetching folder content.
crypto: simd - correctly take reqsize of wrapped skcipher into account
Ard Biesheuvel authored
[ Upstream commit 508a1c4d

 ]

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: default avatarQian Cai <cai@gmx.us>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: default avatarQian Cai <cai@gmx.us>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
66da887d
Name Last commit Last update
..
asymmetric_keys Replace magic for trusting the secondary keyring with #define
async_tx License cleanup: add SPDX GPL-2.0 license identifier to files with no license
.gitignore crypto: rsa - add .gitignore for crypto/*.-asn1.[ch] files
842.c crypto: acomp - add support for 842 via scomp
Kconfig crypto: x86/salsa20 - remove x86 salsa20 implementations
Makefile crypto: aes-generic - fix aes-generic regression on powerpc
ablk_helper.c crypto: ablk_helper - Fix cryptd reordering
ablkcipher.c crypto: skcipher - Fix -Wstringop-truncation warnings
acompress.c crypto: acomp - allow registration of multiple acomps
aead.c crypto: Replaced gcc specific attributes with macros from compiler.h
aes_generic.c crypto: aes-generic - drop alignment requirement
aes_ti.c crypto: aes_ti - fix comment for MixColumns step
af_alg.c crypto: af_alg - Initialize sg_num_bytes in error code path
ahash.c crypto: ahash - Fix early termination in hash walk
akcipher.c crypto: Replaced gcc specific attributes with macros from compiler.h
algapi.c crypto: algapi - fix NULL dereference in crypto_remove_spawns()
algboss.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h>
algif_aead.c crypto: af_alg - Fix race around ctx->rcvused by making it atomic_t
algif_hash.c crypto: hash - prevent using keyed hashes without setting key
algif_rng.c crypto: algif_rng - Remove obsolete const-removal cast
algif_skcipher.c crypto: af_alg - Fix race around ctx->rcvused by making it atomic_t
ansi_cprng.c crypto: ansi_cprng - Convert to new rng interface
anubis.c crypto: prefix module autoloading with "crypto-"
api.c evm: Don't deadlock if a crypto algorithm is unavailable
arc4.c crypto: prefix module autoloading with "crypto-"
authenc.c
authencesn.c
blkcipher.c
blowfish_common.c
blowfish_generic.c
camellia_generic.c
cast5_generic.c
cast6_generic.c
cast_common.c
cbc.c
ccm.c
chacha20_generic.c
chacha20poly1305.c
cipher.c
cmac.c
compress.c
crc32_generic.c
crc32c_generic.c
crct10dif_common.c
crct10dif_generic.c
cryptd.c
crypto_engine.c
crypto_null.c
crypto_user.c
crypto_wq.c
ctr.c
cts.c
deflate.c
des_generic.c
dh.c
dh_helper.c
drbg.c
ecb.c
ecc.c
ecc.h
ecc_curve_defs.h
ecdh.c
ecdh_helper.c
echainiv.c
fcrypt.c
fips.c
gcm.c
gf128mul.c
ghash-generic.c
hash_info.c
hmac.c
internal.h
jitterentropy-kcapi.c
jitterentropy.c
keywrap.c
khazad.c
kpp.c
lrw.c
lz4.c
lz4hc.c
lzo.c
mcryptd.c
md4.c
md5.c
memneq.c
michael_mic.c
pcbc.c
pcrypt.c
poly1305_generic.c
proc.c
ripemd.h
rmd128.c
rmd160.c
rmd256.c
rmd320.c
rng.c
rsa-pkcs1pad.c
rsa.c
rsa_helper.c
rsaprivkey.asn1