openssl/crypto/evp
Richard Levitte f4a3799cc4 EVP: Make EVP_PKEY_set_params() increment the dirty count
When the internal key is changed, we must count it as muted, so that
next time the affected key is considered for an operation, it gets
re-exported to the signing provider.  In other words, this will clear
the EVP_PKEY export cache when the next export attempt occurs.

This also updates evp_keymgmt_util_export_to_provider() to actually
look at the dirty count for provider native origin keys, and act
appropriately.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14056)
2021-02-05 15:53:29 +10:00
..
asymcipher.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
bio_b64.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
bio_enc.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
bio_md.c
bio_ok.c Update bio_ok.c 2020-11-27 13:58:59 +01:00
build.info EVP_PKEY & EC_KEY: Make EC EVP_PKEY_CTX parameter ctrls / setters more available 2020-12-16 11:56:38 +01:00
c_allc.c Update copyright year 2020-11-05 13:37:26 +00:00
c_alld.c
cmeth_lib.c
dh_ctrl.c Update copyright year 2021-01-28 13:54:57 +01:00
dh_support.c EVP_PKEY & DH: Make DH EVP_PKEY_CTX parameter ctrls / setters more available 2020-12-16 11:55:39 +01:00
digest.c Fix a use after free issue when a provider context is being used and isn't cached 2021-02-04 14:35:25 +10:00
dsa_ctrl.c EVP_PKEY & DSA: Make DSA EVP_PKEY_CTX parameter ctrls / setters more available 2020-11-27 15:30:51 +01:00
e_aes_cbc_hmac_sha1.c remove unused assignments 2020-12-03 11:21:33 +10:00
e_aes_cbc_hmac_sha256.c remove unused assignments 2020-12-03 11:21:33 +10:00
e_aes.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_aria.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_bf.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_camellia.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_cast.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_chacha20_poly1305.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_des3.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_des.c Use local IV storage in e_des.c 2020-08-11 07:07:58 -07:00
e_idea.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_null.c
e_old.c
e_rc2.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_rc4_hmac_md5.c
e_rc4.c
e_rc5.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
e_seed.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_sm4.c Update copyright year 2020-10-15 14:10:06 +01:00
e_xcbc_d.c Use local IV storage in e_xcbc_d.c 2020-08-11 07:07:58 -07:00
ec_ctrl.c Update copyright year 2021-01-28 13:54:57 +01:00
ec_support.c EVP_PKEY & EC_KEY: Make EC EVP_PKEY_CTX parameter ctrls / setters more available 2020-12-16 11:56:38 +01:00
encode.c
evp_cnf.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
evp_enc.c Don't call EVP_CIPHER_CTX_block_size() to find the block size 2020-12-30 09:32:14 +01:00
evp_err.c Update copyright year 2021-01-28 13:54:57 +01:00
evp_fetch.c Update copyright year 2021-01-28 13:54:57 +01:00
evp_key.c
evp_lib.c Update copyright year 2021-01-28 13:54:57 +01:00
evp_local.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
evp_pbe.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
evp_pkey.c Adapt everything else to the updated OSSL_ENCODER_CTX_new_by_EVP_PKEY() 2020-12-02 13:37:20 +01:00
evp_rand.c Update copyright year 2021-01-28 13:54:57 +01:00
evp_utils.c Update copyright year 2020-11-26 14:18:57 +00:00
exchange.c Update copyright year 2021-01-28 13:54:57 +01:00
kdf_lib.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
kdf_meth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
kem.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
keymgmt_lib.c EVP: Make EVP_PKEY_set_params() increment the dirty count 2021-02-05 15:53:29 +10:00
keymgmt_meth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
legacy_blake2.c
legacy_md2.c
legacy_md4.c
legacy_md5_sha1.c Rename md5_sha1_* ossl_md5_sha1_* 2020-11-19 07:38:53 +10:00
legacy_md5.c
legacy_mdc2.c
legacy_meth.h
legacy_ripemd.c
legacy_sha.c rename sha1_ctrl to ossl_sha1_ctrl. 2020-11-19 07:39:13 +10:00
legacy_wp.c
m_null.c
m_sigver.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
mac_lib.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
mac_meth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
names.c Update copyright year 2020-10-15 14:10:06 +01:00
p5_crpt2.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
p5_crpt.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
p_dec.c Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
p_enc.c Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
p_legacy.c Update copyright year 2021-01-28 13:54:57 +01:00
p_lib.c EVP: Make EVP_PKEY_set_params() increment the dirty count 2021-02-05 15:53:29 +10:00
p_open.c
p_seal.c
p_sign.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
p_verify.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
pbe_scrypt.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
pmeth_check.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
pmeth_gn.c EVP: Fix typo in EVP_PKEY_gen comment 2020-11-02 16:35:16 +01:00
pmeth_lib.c EVP: Fix evp_pkey_ctx_store_cached_data() to handle provider backed EVP_PKEY_CTX 2021-02-03 17:20:56 +01:00
signature.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00