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 crypto: authenc - don't leak pointers to authenc keys
authencesn.c crypto: authencesn - don't leak pointers to authenc keys
blkcipher.c crypto: skcipher - Fix -Wstringop-truncation warnings
blowfish_common.c crypto: blowfish - split generic and common c code
blowfish_generic.c crypto: add missing crypto module aliases
camellia_generic.c crypto: add missing crypto module aliases
cast5_generic.c crypto: add missing crypto module aliases
cast6_generic.c crypto: add missing crypto module aliases
cast_common.c crypto: make tables used from assembler __visible
cbc.c crypto: cbc - Propagate NEED_FALLBACK bit
ccm.c crypto: ccm - preserve the IV buffer
chacha20_generic.c crypto: chacha20 - fix handling of chunked input
chacha20poly1305.c crypto: chacha20poly1305 - validate the digest size
cipher.c crypto: api - Remove no-op exit_ops code
cmac.c crypto: algapi - make crypto_xor() and crypto_inc() alignment agnostic
compress.c crypto: api - Remove no-op exit_ops code
crc32_generic.c crypto: hash - annotate algorithms taking optional key
crc32c_generic.c crypto: hash - annotate algorithms taking optional key
crct10dif_common.c crypto: crct10dif - Add fallback for broken initrds
crct10dif_generic.c crypto: squash lines for simple wrapper functions
cryptd.c crypto: hash - annotate algorithms taking optional key
crypto_engine.c crypto: engine - replace pr_xxx by dev_xxx
crypto_null.c crypto: null - Remove default null blkcipher
crypto_user.c crypto: user - fix leaking uninitialized memory to userspace
crypto_wq.c crypto: crypto_wq - Fix late crypto work queue initialization
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