linux-kernelorg-stable/include/crypto
Eric Biggers d0ca0df179 crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
Commit 1b34cbbf4f ("crypto: af_alg - Disallow concurrent writes in
af_alg_sendmsg") changed some fields from bool to 1-bit bitfields of
type u32.

However, some assignments to these fields, specifically 'more' and
'merge', assign values greater than 1.  These relied on C's implicit
conversion to bool, such that zero becomes false and nonzero becomes
true.

With a 1-bit bitfields of type u32 instead, mod 2 of the value is taken
instead, resulting in 0 being assigned in some cases when 1 was intended.

Fix this by restoring the bool type.

Fixes: 1b34cbbf4f ("crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-09-24 14:43:32 -07:00
..
internal This update includes the following changes: 2025-07-31 09:45:28 -07:00
acompress.h
aead.h
aes.h
akcipher.h
algapi.h module: remove meaningless 'name' parameter from __MODULE_INFO() 2025-06-24 20:33:31 +09:00
arc4.h
aria.h
authenc.h
b128ops.h
blake2b.h
blake2s.h
blowfish.h
cast5.h
cast6.h
cast_common.h
chacha.h
chacha20poly1305.h
cryptd.h
ctr.h
curve25519.h
des.h
dh.h
drbg.h
ecc_curve.h
ecdh.h
engine.h crypto: engine - remove request batching support 2025-07-18 20:52:00 +10:00
gcm.h
gf128mul.h
ghash.h
hash.h This push fixes a regression that breaks hmac(sha3-224-s390). 2025-08-09 07:26:19 +03:00
hash_info.h
hkdf.h
hmac.h
if_alg.h crypto: af_alg - Fix incorrect boolean values in af_alg_ctx 2025-09-24 14:43:32 -07:00
kdf_sp800108.h
kpp.h
krb5.h
md5.h dm-crypt: Extend state buffer size in crypt_iv_lmk_one 2025-06-23 13:50:02 +02:00
nhpoly1305.h
null.h crypto: null - remove the default null skcipher 2025-05-12 13:32:53 +08:00
padlock.h
pcrypt.h
pkcs7.h
poly1305.h
polyval.h
public_key.h
rng.h
scatterwalk.h
serpent.h
sha1.h lib/crypto: sha1: Add HMAC support 2025-07-14 08:59:20 -07:00
sha2.h lib/crypto: sha2: Add hmac_sha*_init_usingrawkey() 2025-07-14 08:20:37 -07:00
sha3.h
sig.h
skcipher.h
sm3.h
sm3_base.h
sm4.h
streebog.h
twofish.h
utils.h
xts.h