openssl/crypto/evp
Richard Levitte 2ccb1b4eca EVP fetching: make operation_id part of the method identity
Because the operation identity wasn't integrated with the created
methods, the following code would give unexpected results:

    EVP_MD *md = EVP_MD_fetch(NULL, "MD5", NULL);
    EVP_CIPHER *cipher = EVP_CIPHER_fetch(NULL, "MD5", NULL);

    if (md != NULL)
        printf("MD5 is a digest\n");
    if (cipher != NULL)
        printf("MD5 is a cipher\n");

The message is that MD5 is both a digest and a cipher.

Partially fixes #9106

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9109)
2019-06-10 08:01:19 +02:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c
build.info Make some EVP code available from within the FIPS module 2019-05-23 11:02:04 +01:00
c_allc.c
c_alld.c
c_allkdf.c Added X963KDF API 2019-05-16 11:43:41 +10:00
c_allm.c
cmeth_lib.c Make EVP_Encrypt*/EVP_Decrypt* and EVP_Cipher* provider aware 2019-04-19 09:31:54 +01:00
digest.c EVP_DigestInit_ex(): drop previous context engine earlier 2019-06-04 17:34:30 +02:00
e_aes_cbc_hmac_sha1.c
e_aes_cbc_hmac_sha256.c
e_aes.c s390x assembly pack: allow specifying the tag after aad in aes-ccm 2019-05-22 10:57:50 +02:00
e_aria.c Structure alignment macro. 2019-05-01 08:37:11 +10:00
e_bf.c
e_camellia.c
e_cast.c
e_chacha20_poly1305.c Structure alignment macro. 2019-05-01 08:37:11 +10:00
e_des3.c Coverity CID 1444956: Integer handling issues 2019-05-08 09:52:58 +10:00
e_des.c Structure alignment macro. 2019-05-01 08:37:11 +10:00
e_idea.c
e_null.c
e_old.c
e_rc2.c
e_rc4_hmac_md5.c
e_rc4.c
e_rc5.c
e_seed.c
e_sm4.c
e_xcbc_d.c
encode.c
evp_cnf.c EVP configuration section: add 'default_properties' command 2019-04-05 15:43:37 +02:00
evp_enc.c Fix input checks wrt legacy code 2019-05-27 08:05:36 +10:00
evp_err.c Replace EVP_MAC_CTX_copy() by EVP_MAC_CTX_dup() 2019-06-06 17:41:41 +02:00
evp_fetch.c EVP fetching: make operation_id part of the method identity 2019-06-10 08:01:19 +02: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 Make some EVP code available from within the FIPS module 2019-05-23 11:02:04 +01:00
evp_locl.h EVP_FETCH: remove the need to transport the legacy NID through construction 2019-05-12 13:43:38 -07:00
evp_pbe.c
evp_pkey.c
kdf_lib.c Added X963KDF API 2019-05-16 11:43:41 +10:00
m_md2.c
m_md4.c
m_md5_sha1.c Move digests to providers 2019-06-04 12:09:50 +10:00
m_md5.c
m_mdc2.c
m_null.c
m_ripemd.c
m_sha1.c Move digests to providers 2019-06-04 12:09:50 +10:00
m_sha3.c Move digests to providers 2019-06-04 12:09:50 +10:00
m_sigver.c
m_wp.c
mac_lib.c Change EVP_MAC method from copy to dup 2019-06-06 17:41:42 +02:00
names.c Added EVP_KDF (similiar to the EVP_MAC) 2019-05-03 17:52:50 +02:00
p5_crpt2.c Coverity CID 1444961: Integer handling issues 2019-05-08 09:52:58 +10:00
p5_crpt.c Coverity CID 1444960: Error handling issues 2019-05-08 09:52:58 +10:00
p_dec.c
p_enc.c
p_lib.c
p_open.c Fix the allocation size in EVP_OpenInit and PEM_SignFinal 2019-04-06 10:17:19 +02:00
p_seal.c
p_sign.c
p_verify.c
pbe_scrypt.c
pkey_kdf.c
pkey_mac.c Replace EVP_MAC_CTX_copy() by EVP_MAC_CTX_dup() 2019-06-06 17:41:41 +02:00
pmeth_fn.c
pmeth_gn.c
pmeth_lib.c