diff options
author | Richard Levitte <levitte@openssl.org> | 2021-03-16 14:23:54 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-04-02 08:57:47 +0200 |
commit | 03888233290bf3b8410e8dc2acbef8950fffef60 (patch) | |
tree | cffa3d7c31504acbc2b80d7fe7d826381acc76fe /util | |
parent | Add OSSL_STORE_LOADER_description() (diff) | |
download | openssl-03888233290bf3b8410e8dc2acbef8950fffef60.tar.xz openssl-03888233290bf3b8410e8dc2acbef8950fffef60.zip |
EVP: Add EVP_<TYPE>_description()
The following operation types are covered:
EVP_MD, EVP_CIPHER, EVP_MAC, EVP_RAND, EVP_KEYMGMT, EVP_SIGNATURE,
EVP_ASYM_CIPHER, EVP_KEM, EVP_KEYEXCH, EVP_KDF. Also EVP_PKEY.
For EVP_MD and EVP_CIPHER, OBJ_nid2ln() is used as a fallback for
legacy implementations.
For EVP_PKEY, the info field of the EVP_PKEY_ASN1_METHOD is used as a
fallback for legacy implementations.
Fixes #14514
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14656)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index eb84f1763e..49fc731085 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5336,3 +5336,14 @@ EVP_PKEY_derive_set_peer_ex ? 3_0_0 EXIST::FUNCTION: OSSL_DECODER_description ? 3_0_0 EXIST::FUNCTION: OSSL_ENCODER_description ? 3_0_0 EXIST::FUNCTION: OSSL_STORE_LOADER_description ? 3_0_0 EXIST::FUNCTION: +EVP_MD_description ? 3_0_0 EXIST::FUNCTION: +EVP_CIPHER_description ? 3_0_0 EXIST::FUNCTION: +EVP_MAC_description ? 3_0_0 EXIST::FUNCTION: +EVP_RAND_description ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_description ? 3_0_0 EXIST::FUNCTION: +EVP_KEYMGMT_description ? 3_0_0 EXIST::FUNCTION: +EVP_SIGNATURE_description ? 3_0_0 EXIST::FUNCTION: +EVP_ASYM_CIPHER_description ? 3_0_0 EXIST::FUNCTION: +EVP_KEM_description ? 3_0_0 EXIST::FUNCTION: +EVP_KEYEXCH_description ? 3_0_0 EXIST::FUNCTION: +EVP_KDF_description ? 3_0_0 EXIST::FUNCTION: |