openssl/crypto/evp
Matt Caswell c1ff599440 Check that OPENSSL_zalloc was successful when creating EVP types
We were missing a NULL check in a few very similar places following an
OPENSSL_zalloc() call.

Reported-by: Ziyang Li (@Liby99)

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10526)
2019-11-29 14:21:46 +00:00
..
bio_b64.c
bio_enc.c
bio_md.c Don't use internal knowledge about EVP_MD_CTX in and MD BIO 2019-10-11 11:42:43 +01:00
bio_ok.c
build.info Fix no-blake2 2019-11-14 10:04:37 +00:00
c_allc.c
c_alld.c Restore MD5-SHA1 in legacy method database 2019-10-14 16:07:41 +02:00
cmeth_lib.c
digest.c Replumbing: pre-populate the EVP namemap with commonly known names 2019-11-20 14:22:35 +01:00
e_aes_cbc_hmac_sha1.c
e_aes_cbc_hmac_sha256.c
e_aes.c
e_aria.c Allow specifying the tag after AAD in CCM mode (2) 2019-11-20 10:40:55 +01:00
e_bf.c
e_camellia.c
e_cast.c
e_chacha20_poly1305.c
e_des3.c
e_des.c
e_idea.c
e_null.c
e_old.c Update source files for pre-3.0 deprecation 2019-11-07 11:37:25 +01:00
e_rc2.c
e_rc4_hmac_md5.c Fix undefined array OPENSSL_ia32cap_P. 2019-10-30 10:45:40 +01:00
e_rc4.c
e_rc5.c
e_seed.c
e_sm4.c
e_xcbc_d.c
encode.c
evp_cnf.c
evp_enc.c Cache constants for fetched EVP_cipher 2019-11-25 13:35:43 +01:00
evp_err.c
evp_fetch.c Replumbing: pre-populate the EVP namemap with commonly known names 2019-11-20 14:22:35 +01:00
evp_key.c
evp_lib.c Cache constants for fetched EVP_cipher 2019-11-25 13:35:43 +01:00
evp_local.h Cache constants for fetched EVP_cipher 2019-11-25 13:35:43 +01:00
evp_pbe.c
evp_pkey.c
evp_utils.c
exchange.c Check that OPENSSL_zalloc was successful when creating EVP types 2019-11-29 14:21:46 +00:00
kdf_lib.c EVP: add functions that return the name number 2019-10-17 09:16:45 +02:00
kdf_meth.c Final cleanup after move to leaner EVP_PKEY methods 2019-11-10 05:00:28 +01:00
keymgmt_lib.c CORE & PROV: make export of key data leaner through callback 2019-11-14 10:53:14 +01:00
keymgmt_meth.c Final cleanup after move to leaner EVP_PKEY methods 2019-11-10 05:00:28 +01:00
legacy_blake2.c Move BLAKE2 digests completely to the default provider 2019-10-17 18:49:38 +02:00
legacy_md2.c Move MD2, MD4 and MD5 digests completely to the providers 2019-10-14 17:54:41 +02:00
legacy_md4.c Move MD2, MD4 and MD5 digests completely to the providers 2019-10-14 17:54:41 +02:00
legacy_md5_sha1.c Providers: move all digests 2019-10-10 14:12:15 +02:00
legacy_md5.c Move MD2, MD4 and MD5 digests completely to the providers 2019-10-14 17:54:41 +02:00
legacy_mdc2.c Move MD2, MD4 and MD5 digests completely to the providers 2019-10-14 17:54:41 +02:00
legacy_sha.c
m_null.c
m_ripemd.c
m_sigver.c EVP: Make the SIGNATURE implementation leaner 2019-11-05 22:22:29 +01:00
m_wp.c
mac_lib.c EVP: add functions that return the name number 2019-10-17 09:16:45 +02:00
mac_meth.c Final cleanup after move to leaner EVP_PKEY methods 2019-11-10 05:00:28 +01:00
names.c Ensure EVP_get_digestbyname() and EVP_get_cipherbyname() know all aliases 2019-11-06 10:11:31 +00:00
p5_crpt2.c
p5_crpt.c
p_dec.c
p_enc.c
p_lib.c EVP p_lib: Add NULL check to EVP_PKEY_missing_parameters. 2019-11-21 14:34:55 +10:00
p_open.c
p_seal.c
p_sign.c
p_verify.c
pbe_scrypt.c
pkey_kdf.c
pkey_mac.c
pmeth_fn.c Check that OPENSSL_zalloc was successful when creating EVP types 2019-11-29 14:21:46 +00:00
pmeth_gn.c Add EVP functionality to create domain params and keys by user data 2019-11-07 11:50:39 +01:00
pmeth_lib.c Add missing EVP_PKEY_METHOD accessors for digestsign and digestverify 2019-11-17 08:27:06 +01:00