openssl/crypto/evp
Matt Caswell 7606bed904 Ensure EVP_get_digestbyname() and EVP_get_cipherbyname() know all aliases
Now that we have an EVP namemap containing all aliases that providers
know about for any given algorithm, it is possible that an application
attempts to look up a digest or a cipher via EVP_get_digestbyname() or
EVP_get_cipherbyname() with an algorithm name that is unknown to the
legacy method database. Therefore we extend those functions to
additionally check the aliases in the namemap when searching for a
method in the event that our initial lookup attempt fails.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10324)
2019-11-06 10:11:31 +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 Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
build.info Move BLAKE2 digests completely to the default provider 2019-10-17 18:49:38 +02:00
c_allc.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
c_alld.c Restore MD5-SHA1 in legacy method database 2019-10-14 16:07:41 +02:00
cmeth_lib.c Reorganize local header files 2019-09-28 20:26:35 +02:00
digest.c EVP: add name traversal functions to all fetchable types 2019-10-17 09:16:45 +02:00
e_aes_cbc_hmac_sha1.c Reorganize local header files 2019-09-28 20:26:35 +02:00
e_aes_cbc_hmac_sha256.c Reorganize local header files 2019-09-28 20:26:35 +02:00
e_aes.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
e_aria.c Reorganize local header files 2019-09-28 20:26:35 +02:00
e_bf.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_camellia.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_cast.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_chacha20_poly1305.c Reorganize local header files 2019-09-28 20:26:35 +02:00
e_des3.c Reorganize local header files 2019-09-28 20:26:35 +02:00
e_des.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_idea.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_null.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_old.c
e_rc2.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_rc4_hmac_md5.c Fix undefined array OPENSSL_ia32cap_P. 2019-10-30 10:45:40 +01:00
e_rc4.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_rc5.c Reorganize local header files 2019-09-28 20:26:35 +02:00
e_seed.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_sm4.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
e_xcbc_d.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
encode.c Reorganize local header files 2019-09-28 20:26:35 +02:00
evp_cnf.c EVP configuration section: add 'default_properties' command 2019-04-05 15:43:37 +02:00
evp_enc.c EVP: add name traversal functions to all fetchable types 2019-10-17 09:16:45 +02:00
evp_err.c Replumbing: make it possible for providers to specify multiple names 2019-10-03 15:47:25 +02:00
evp_fetch.c crypto/evp/evp_fetch.c: Make it more prominent that these functions are EVP 2019-10-31 11:13:57 +01:00
evp_key.c crypto/evp/evp_key.c: #define BUFSIZ if <stdio.h> doesn't #define it 2019-05-27 08:01:50 +10:00
evp_lib.c EVP: add functions that return the name number 2019-10-17 09:16:45 +02:00
evp_local.h EVP: Make the SIGNATURE implementation leaner 2019-11-05 22:22:29 +01:00
evp_pbe.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
evp_pkey.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
evp_utils.c Reorganize local header files 2019-09-28 20:26:35 +02:00
exchange.c EVP: Make the KEYEXCH implementation leaner 2019-11-05 22:20:06 +01:00
kdf_lib.c EVP: add functions that return the name number 2019-10-17 09:16:45 +02:00
kdf_meth.c EVP: add missing common functionality 2019-10-17 09:16:45 +02:00
keymgmt_lib.c fix for Missing null check after OPENSSL_zalloc 2019-11-01 16:13:15 +01:00
keymgmt_meth.c EVP: add functions that return the name number 2019-10-17 09:16:45 +02: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 Move all SHA digests completely to the default provider 2019-10-04 00:18:41 +02:00
m_null.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
m_ripemd.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
m_sigver.c EVP: Make the SIGNATURE implementation leaner 2019-11-05 22:22:29 +01:00
m_wp.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
mac_lib.c EVP: add functions that return the name number 2019-10-17 09:16:45 +02:00
mac_meth.c EVP: add name traversal functions to all fetchable types 2019-10-17 09:16:45 +02: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 Reorganize local header files 2019-09-28 20:26:35 +02:00
p5_crpt.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
p_dec.c
p_enc.c
p_lib.c Allow EVP_PKEY_get0_RSA for RSA-PSS keys 2019-10-28 11:07:10 +00:00
p_open.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
p_seal.c
p_sign.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
p_verify.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
pbe_scrypt.c Usages of KDFs converted to use the name macros 2019-09-11 10:22:49 +10:00
pkey_kdf.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
pkey_mac.c Reorganize local header files 2019-09-28 20:26:35 +02:00
pmeth_fn.c EVP: Make the SIGNATURE implementation leaner 2019-11-05 22:22:29 +01:00
pmeth_gn.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
pmeth_lib.c Ensure EVP_get_digestbyname() and EVP_get_cipherbyname() know all aliases 2019-11-06 10:11:31 +00:00