openssl/providers/implementations
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
..
asymciphers Add missing settable entry OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS for RSA asym 2023-12-29 10:41:06 +01:00
ciphers Fix partial block encryption in cfb and ofb for s390x 2024-01-12 10:34:39 +01:00
digests cleanse stack variable in blake2[b|s] finalization 2024-01-03 12:42:01 -05:00
encode_decode Fix the encoding of SM2 keys 2024-01-12 11:07:39 +01:00
exchange Copyright year updates 2023-09-07 09:59:15 +01:00
include/prov Implement BLAKE2s with the same macro as BLAKE2b 2023-11-08 09:42:13 +01:00
kdfs Add appropriate NULL checks in EVP_CIPHER api 2024-01-25 08:27:53 -05:00
kem Copyright year updates 2023-09-07 09:59:15 +01:00
keymgmt Fix new typos found by codespell 2023-12-29 10:12:05 +01:00
macs Ignore OSSL_MAC_PARAM_DIGEST_NOINIT/OSSL_MAC_PARAM_DIGEST_ONESHOT 2023-12-26 10:36:00 -05:00
rands rand: fix seeding from a weak entropy source 2023-10-24 11:14:11 +01:00
signature Initialize dstctx->mgf1_md to NULL in rsa_dupctx function 2023-11-30 18:45:15 +01:00
storemgmt Copyright year updates 2023-09-07 09:59:15 +01:00
build.info