openssl/crypto/evp
Richard Levitte 7cfa1717b8 Modify providers that keep track of underlying algorithms
With some provider implementations, there are underlying ciphers,
digests and macs.  For some of them, the name was retrieved from the
method, but since the methods do not store those any more, we add
different mechanics.

For code that needs to pass on the name of a cipher or diges via
parameters, we simply locally store the name that was used when
fetching said cipher or digest.  This will ensure that any underlying
code that needs to fetch that same cipher or digest does so with the
exact same name instead of any random name from the set of names
associated with the algorithm.

For code that needs to check what kind of algorithm was passed, we
provide EVP_{type}_is_a(), that returns true if the given method has
the given name as one of its names.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9897)
2019-09-19 14:58:17 +02:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c
build.info KDF/PRF updates to libcrypto 2019-09-06 19:27:57 +10:00
c_allc.c
c_alld.c
cmeth_lib.c Reverting check to correct 2019-09-05 15:50:58 +03:00
digest.c In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
e_aes_cbc_hmac_sha1.c Remove extern declarations of OPENSSL_ia32cap_P 2019-09-01 15:41:58 +02:00
e_aes_cbc_hmac_sha256.c Remove extern declarations of OPENSSL_ia32cap_P 2019-09-01 15:41:58 +02:00
e_aes.c Add basic aria and camellia ciphers modes to default provider 2019-08-22 11:42:54 +10:00
e_aria.c Change EVP_CIPHER_CTX_iv_length() to return current ivlen for some modes 2019-08-08 13:14:05 +10:00
e_bf.c
e_camellia.c Add basic aria and camellia ciphers modes to default provider 2019-08-22 11:42:54 +10:00
e_cast.c
e_chacha20_poly1305.c Change EVP_CIPHER_CTX_iv_length() to return current ivlen for some modes 2019-08-08 13:14:05 +10:00
e_des3.c
e_des.c
e_idea.c
e_null.c
e_old.c
e_rc2.c
e_rc4_hmac_md5.c Remove extern declarations of OPENSSL_ia32cap_P 2019-09-01 15:41:58 +02: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 In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
evp_err.c util/mkerr.pl: make it not depend on the function code 2019-09-12 17:59:52 +02:00
evp_fetch.c Modify providers that keep track of underlying algorithms 2019-09-19 14:58:17 +02:00
evp_key.c
evp_lib.c Modify providers that keep track of underlying algorithms 2019-09-19 14:58:17 +02:00
evp_locl.h Modify providers that keep track of underlying algorithms 2019-09-19 14:58:17 +02:00
evp_pbe.c
evp_pkey.c
evp_utils.c Add EVP_CIPHER_CTX_tag_length() 2019-09-11 17:52:30 +10:00
exchange.c In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
kdf_lib.c In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
kdf_meth.c In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
keymgmt_lib.c
keymgmt_meth.c In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
m_md2.c
m_md4.c
m_md5_sha1.c
m_md5.c
m_mdc2.c
m_null.c
m_ripemd.c
m_sha1.c
m_sha3.c Remove MAC cruft 2019-08-24 13:01:15 +02:00
m_sigver.c
m_wp.c
mac_lib.c Get rid of the diversity of names for MAC parameters 2019-08-24 13:01:15 +02:00
mac_meth.c Modify providers that keep track of underlying algorithms 2019-09-19 14:58:17 +02:00
names.c KDF/PRF updates to libcrypto 2019-09-06 19:27:57 +10:00
p5_crpt2.c Usages of KDFs converted to use the name macros 2019-09-11 10:22:49 +10:00
p5_crpt.c
p_dec.c
p_enc.c
p_lib.c OSSL_PARAM_construct_utf8_string computes the string length. 2019-09-04 19:41:22 +10:00
p_open.c
p_seal.c
p_sign.c
p_verify.c
pbe_scrypt.c Usages of KDFs converted to use the name macros 2019-09-11 10:22:49 +10:00
pkey_kdf.c Avoid passing NULL to memcpy 2019-09-12 10:30:48 +01:00
pkey_mac.c Modify providers that keep track of underlying algorithms 2019-09-19 14:58:17 +02:00
pmeth_fn.c In provider implemented methods, save the name number, not the name string 2019-09-19 14:58:17 +02:00
pmeth_gn.c
pmeth_lib.c Move EVP_PKEY algorithm implementations into a union 2019-09-09 14:00:00 +01:00