diff options
author | Pauli <pauli@openssl.org> | 2021-06-01 04:51:45 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-02 12:45:39 +0200 |
commit | f2e3584d10f0ee61a35e2b5862b49f71ef5630bd (patch) | |
tree | c9c05abb9680bb2c38dde52f868237f592685a35 /include/crypto/evp.h | |
parent | doc: move XXX_get_number() documentation to internal (diff) | |
download | openssl-f2e3584d10f0ee61a35e2b5862b49f71ef5630bd.tar.xz openssl-f2e3584d10f0ee61a35e2b5862b49f71ef5630bd.zip |
add internal get_number functons to crypto/evp.h
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564)
Diffstat (limited to 'include/crypto/evp.h')
-rw-r--r-- | include/crypto/evp.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h index ce772dbec1..8438fe0e99 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -934,4 +934,16 @@ EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey); RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey); # endif +/* Get internal identification number routines */ +int evp_asym_cipher_get_number(const EVP_ASYM_CIPHER *cipher); +int evp_cipher_get_number(const EVP_CIPHER *cipher); +int evp_kdf_get_number(const EVP_KDF *kdf); +int evp_kem_get_number(const EVP_KEM *wrap); +int evp_keyexch_get_number(const EVP_KEYEXCH *keyexch); +int evp_keymgmt_get_number(const EVP_KEYMGMT *keymgmt); +int evp_mac_get_number(const EVP_MAC *mac); +int evp_md_get_number(const EVP_MD *md); +int evp_rand_get_number(const EVP_RAND *rand); +int evp_signature_get_number(const EVP_SIGNATURE *signature); + #endif /* OSSL_CRYPTO_EVP_H */ |