openssl/crypto/evp
Richard Levitte 6508e85883 EVP: make EVP_PKEY_{bits,security_bits,size} work with provider only keys
These functions relied entirely on the presence of 'pkey->pmeth',
which is NULL on provider only keys.  This adds an interface to get
domparam and key data from a provider, given corresponding provider
data (the actual domparam or key).

The retrieved data is cached in the EVP_PKEY structure (lending the
idea from provided EVP_CIPHER).

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/10778)
2020-01-17 09:04:04 +01:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c
build.info Add dsa signature alg to fips provider 2020-01-12 11:32:12 +10:00
c_allc.c
c_alld.c
cmeth_lib.c
digest.c Always go the legacy route if EVP_MD_CTX_FLAG_NO_INIT is set 2020-01-13 13:50:06 +00:00
e_aes_cbc_hmac_sha1.c
e_aes_cbc_hmac_sha256.c
e_aes.c
e_aria.c
e_bf.c Deprecate Low Level Blowfish APIs 2020-01-08 11:25:25 +00:00
e_camellia.c Deprecate Low Level Camellia APIs 2020-01-13 13:38:20 +00:00
e_cast.c Deprecate the Low Level CAST APIs 2020-01-13 13:44:27 +00:00
e_chacha20_poly1305.c
e_des3.c
e_des.c
e_idea.c
e_null.c
e_old.c
e_rc2.c Deprecate the low level RC2 functions 2020-01-16 07:07:27 +10:00
e_rc4_hmac_md5.c Deprecate the low level RC4 functions 2020-01-16 07:07:27 +10:00
e_rc4.c Deprecate the low level RC4 functions 2020-01-16 07:07:27 +10:00
e_rc5.c Deprecate the low level RC5 functions 2020-01-16 07:07:27 +10:00
e_seed.c Deprecate the low level SEED functions 2020-01-16 07:06:14 +10:00
e_sm4.c
e_xcbc_d.c
encode.c
evp_cnf.c
evp_enc.c Add GCM support for EVP_CTRL_GCM_IV_GEN and EVP_CTRL_GCM_SET_IV_INV to providers 2020-01-10 11:58:27 +10:00
evp_err.c
evp_fetch.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00
evp_key.c
evp_lib.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00
evp_local.h EVP: make EVP_PKEY_{bits,security_bits,size} work with provider only keys 2020-01-17 09:04:04 +01:00
evp_pbe.c
evp_pkey.c
evp_utils.c
exchange.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00
kdf_lib.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00
kdf_meth.c
keymgmt_lib.c EVP: make EVP_PKEY_{bits,security_bits,size} work with provider only keys 2020-01-17 09:04:04 +01:00
keymgmt_meth.c EVP: make EVP_PKEY_{bits,security_bits,size} work with provider only keys 2020-01-17 09:04:04 +01:00
legacy_blake2.c
legacy_md2.c Deprecate the low level MD2 functions. 2020-01-12 12:02:17 +10:00
legacy_md4.c Deprecate the low level MD4 functions. 2020-01-12 12:02:17 +10:00
legacy_md5_sha1.c
legacy_md5.c
legacy_mdc2.c Deprecate the low level MDC2 functions. 2020-01-12 12:02:17 +10:00
legacy_meth.h
legacy_ripemd.c Deprecate the low level RIPEMD160 functions. 2020-01-12 12:00:31 +10:00
legacy_sha.c
legacy_wp.c Deprecate the low level Whirlpool functions. 2020-01-12 12:05:04 +10:00
m_null.c
m_sigver.c Change returned -2 to 0 in EVP_Digest{Sign,Verify}Init() 2020-01-15 01:17:14 +01:00
mac_lib.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00
mac_meth.c
names.c
p5_crpt2.c
p5_crpt.c
p_dec.c
p_enc.c
p_lib.c EVP: make EVP_PKEY_{bits,security_bits,size} work with provider only keys 2020-01-17 09:04:04 +01:00
p_open.c
p_seal.c
p_sign.c
p_verify.c
pbe_scrypt.c
pkey_kdf.c
pkey_mac.c
pmeth_fn.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00
pmeth_gn.c Add dsa signature alg to fips provider 2020-01-12 11:32:12 +10:00
pmeth_lib.c Restoring correct check for legacy PKEY 2020-01-15 11:50:10 +03:00
signature.c Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too 2020-01-17 08:59:41 +01:00