openssl/crypto/evp
Richard Levitte c1d56231ef Modify ossl_method_store_add() to accept an OSSL_PROVIDER and check for it
If ossl_method_store_add() gets called with a method that already exists
(i.e. the store has one with matching provider, nid and properties), that
method should not be stored.  We do this check inside ossl_method_store_add()
because it has all the locking required to do so safely.

Fixes #9561

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9650)
2019-08-22 01:50:30 +02:00
..
bio_b64.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
bio_enc.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
bio_md.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
bio_ok.c Fix Typos 2019-07-01 10:09:22 +02:00
build.info Remove init of MACs from EVP 2019-08-15 22:12:25 +02:00
c_allc.c Add RFC5297 AES-SIV support 2018-12-12 08:16:10 +10:00
c_alld.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
c_allkdf.c Add X9.42 KDF. 2019-07-09 09:33:18 +10:00
cmeth_lib.c Add a mechnism to save the name of fetched methods 2019-07-23 06:34:09 +02:00
digest.c Rename ctx_{get,set}_params to {get,set}_ctx_params 2019-08-16 09:04:29 +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 Change EVP_CIPHER_CTX_iv_length() to return current ivlen for some modes 2019-08-08 13:14:05 +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 Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
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 Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
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 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 Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_null.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_old.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_rc2.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_rc4_hmac_md5.c Remove tab characters from C source files. 2019-07-16 20:24:10 +10:00
e_rc4.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_rc5.c Change RC5_32_set_key to return an int type 2019-07-01 10:18:37 +01:00
e_seed.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_sm4.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
e_xcbc_d.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
encode.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
evp_cnf.c EVP configuration section: add 'default_properties' command 2019-04-05 15:43:37 +02:00
evp_enc.c Add aes_ccm to provider 2019-08-20 08:54:41 +10:00
evp_err.c Add evp_util macros 2019-07-31 20:34:26 +10:00
evp_fetch.c Modify ossl_method_store_add() to accept an OSSL_PROVIDER and check for it 2019-08-22 01:50:30 +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 Adapt diverse EVP_MD functions to use get_params and set_params interfaces 2019-08-12 13:35:18 +02:00
evp_locl.h Prepare EVP_MAC infrastructure for moving all MACs to providers 2019-08-15 22:12:25 +02:00
evp_pbe.c Added new EVP/KDF API. 2019-02-13 12:11:49 +01:00
evp_pkey.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
evp_utils.c Rename ctx_{get,set}_params to {get,set}_ctx_params 2019-08-16 09:04:29 +02:00
exchange.c Add missing SIZE_MAX define for windows 2019-08-09 21:38:42 +10: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 Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
m_md4.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
m_md5_sha1.c Move digests to providers 2019-06-04 12:09:50 +10:00
m_md5.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
m_mdc2.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
m_null.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
m_ripemd.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
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 Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
m_wp.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
mac_lib.c Rename ctx_{get,set}_params to {get,set}_ctx_params 2019-08-16 09:04:29 +02:00
mac_meth.c Rename ctx_{get,set}_params to {get,set}_ctx_params 2019-08-16 09:04:29 +02:00
names.c Remove init of MACs from EVP 2019-08-15 22:12:25 +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 Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
p_enc.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
p_lib.c Use macros internally for algorithm names 2019-08-19 08:10:16 +02:00
p_open.c Fix the allocation size in EVP_OpenInit and PEM_SignFinal 2019-04-06 10:17:19 +02:00
p_seal.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
p_sign.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
p_verify.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
pbe_scrypt.c EVP_PBE_scrypt() handles salt=NULL as salt="" 2019-03-17 19:27:37 +10:00
pkey_kdf.c The use of the likes of UINT32_MAX requires internal/numbers.h 2019-02-28 10:31:20 +01:00
pkey_mac.c Prepare EVP_MAC infrastructure for moving all MACs to providers 2019-08-15 22:12:25 +02:00
pmeth_fn.c Make the EVP Key Exchange code provider aware 2019-07-16 10:16:32 +01:00
pmeth_gn.c Following the license change, modify the boilerplates in crypto/evp/ 2018-12-06 14:54:57 +01:00
pmeth_lib.c Adapt DH to use with KEYMGMT 2019-07-23 19:43:09 +02:00