openssl/providers/implementations/kdfs
Neil Horman 6f22bcd631 Add appropriate NULL checks in EVP_CIPHER api
The EVP_CIPHER api currently assumes that calls made into several APIs
have already initalized the cipher in a given context via a call to
EVP_CipherInit[_ex[2]].  If that hasnt been done, instead of an error,
the result is typically a SIGSEGV.

Correct that by adding missing NULL checks in the apropriate apis prior
to using ctx->cipher

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22995)
2024-01-25 08:27:53 -05:00
..
argon2.c Blake2b: Use OSSL_DIGEST_PARAM_SIZE as settable instead of XOFLEN 2023-10-25 20:13:39 +01:00
build.info
hkdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
hmacdrbg_kdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
kbkdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
krb5kdf.c Add appropriate NULL checks in EVP_CIPHER api 2024-01-25 08:27:53 -05:00
pbkdf1.c cleanse stack variable in kdf_pbkdf1_do_derive 2024-01-05 14:25:55 -05:00
pbkdf2_fips.c
pbkdf2.c Copyright year updates 2023-09-07 09:59:15 +01:00
pbkdf2.h
pkcs12kdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
pvkkdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
scrypt.c Copyright year updates 2023-09-07 09:59:15 +01:00
sshkdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
sskdf.c Copyright year updates 2023-09-07 09:59:15 +01:00
tls1_prf.c Accept longer context for TLS 1.2 exporters 2023-10-26 15:47:15 +01:00
x942kdf.c Copyright year updates 2023-09-07 09:59:15 +01:00