openssl/crypto/evp
Matt Caswell 7f612b1f04 Don't set ctx->cipher until after a successful fetch
If an implict EVP_CIPHER_fetch fails then ctx->cipher should not be set
otherwise strange things will happen when trying to free the ctx.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9531)
2019-08-07 11:40:32 +01:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c Fix Typos 2019-07-01 10:09:22 +02:00
build.info Add evp_keymgmt_export_to_provider(), for key transfer between providers 2019-07-22 06:18:58 +02:00
c_allc.c
c_alld.c
c_allkdf.c Add X9.42 KDF. 2019-07-09 09:33:18 +10:00
c_allm.c
cmeth_lib.c Add a mechnism to save the name of fetched methods 2019-07-23 06:34:09 +02:00
digest.c Add EVP_CIPHER_do_all_ex() and EVP_MD_do_all_ex() 2019-07-23 06:34:09 +02:00
e_aes_cbc_hmac_sha1.c Add Common shared code needed to move aes ciphers to providers 2019-07-16 09:46:14 +10:00
e_aes_cbc_hmac_sha256.c Add Common shared code needed to move aes ciphers to providers 2019-07-16 09:46:14 +10:00
e_aes.c remove end of line spaces 2019-07-16 20:35:42 +10:00
e_aria.c Add Common shared code needed to move aes ciphers to providers 2019-07-16 09:46:14 +10:00
e_bf.c
e_camellia.c Add Common shared code needed to move aes ciphers to providers 2019-07-16 09:46:14 +10:00
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 Remove tab characters from C source files. 2019-07-16 20:24:10 +10:00
e_rc4.c
e_rc5.c Change RC5_32_set_key to return an int type 2019-07-01 10:18:37 +01:00
e_seed.c
e_sm4.c
e_xcbc_d.c
encode.c
evp_cnf.c
evp_enc.c Don't set ctx->cipher until after a successful fetch 2019-08-07 11:40:32 +01:00
evp_err.c Add evp_util macros 2019-07-31 20:34:26 +10:00
evp_fetch.c Add internal function evp_generic_do_all() 2019-07-23 06:34:09 +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 Add gcm ciphers (aes and aria) to providers. 2019-07-31 21:55:16 +10:00
evp_locl.h Add evp_util macros 2019-07-31 20:34:26 +10:00
evp_pbe.c
evp_pkey.c
evp_utils.c Add evp_util macros 2019-07-31 20:34:26 +10:00
exchange.c Adapt DH to use with KEYMGMT 2019-07-23 19:43:09 +02:00
kdf_lib.c Added X963KDF API 2019-05-16 11:43:41 +10:00
keymgmt_lib.c Add an internal API to access the KEYMGMT provider functions 2019-07-22 06:19:43 +02:00
keymgmt_meth.c Add a mechnism to save the name of fetched methods 2019-07-23 06:34:09 +02: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 Fix Keccak structure name reference in S390 legacy code 2019-06-11 20:16:35 +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 PBKDF2 updates to conform to SP800-132 2019-06-11 20:40:07 +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 Add evp_keymgmt_clear_pkey_cache() and use it 2019-07-22 06:19:42 +02:00
p_open.c
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 Make the EVP Key Exchange code provider aware 2019-07-16 10:16:32 +01:00
pmeth_gn.c
pmeth_lib.c Adapt DH to use with KEYMGMT 2019-07-23 19:43:09 +02:00