diff options
author | Pauli <pauli@openssl.org> | 2021-06-01 13:17:47 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-02 12:45:39 +0200 |
commit | 6ea964cd4a1b2e945fbf79204d123811bc57d3a5 (patch) | |
tree | 5aa30bb1e31a6736841433dac8acbab90ec83b3f | |
parent | Add internal get_number functions to internal headers (diff) | |
download | openssl-6ea964cd4a1b2e945fbf79204d123811bc57d3a5.tar.xz openssl-6ea964cd4a1b2e945fbf79204d123811bc57d3a5.zip |
doc: make XXX_get_number() internal
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564)
-rw-r--r-- | doc/man3/EVP_ASYM_CIPHER_free.pod | 6 | ||||
-rw-r--r-- | doc/man3/EVP_DigestInit.pod | 8 | ||||
-rw-r--r-- | doc/man3/EVP_EncryptInit.pod | 7 | ||||
-rw-r--r-- | doc/man3/EVP_KDF.pod | 6 | ||||
-rw-r--r-- | doc/man3/EVP_KEM_free.pod | 5 | ||||
-rw-r--r-- | doc/man3/EVP_KEYEXCH_free.pod | 9 | ||||
-rw-r--r-- | doc/man3/EVP_KEYMGMT.pod | 7 | ||||
-rw-r--r-- | doc/man3/EVP_MAC.pod | 7 | ||||
-rw-r--r-- | doc/man3/EVP_RAND.pod | 9 | ||||
-rw-r--r-- | doc/man3/EVP_SIGNATURE_free.pod | 6 | ||||
-rw-r--r-- | doc/man3/OSSL_DECODER.pod | 9 | ||||
-rw-r--r-- | doc/man3/OSSL_ENCODER.pod | 9 | ||||
-rw-r--r-- | doc/man3/OSSL_STORE_LOADER.pod | 9 |
13 files changed, 11 insertions, 86 deletions
diff --git a/doc/man3/EVP_ASYM_CIPHER_free.pod b/doc/man3/EVP_ASYM_CIPHER_free.pod index 2b34eb4469..72910a5599 100644 --- a/doc/man3/EVP_ASYM_CIPHER_free.pod +++ b/doc/man3/EVP_ASYM_CIPHER_free.pod @@ -3,7 +3,7 @@ =head1 NAME EVP_ASYM_CIPHER_fetch, EVP_ASYM_CIPHER_free, EVP_ASYM_CIPHER_up_ref, -EVP_ASYM_CIPHER_get_number, EVP_ASYM_CIPHER_is_a, EVP_ASYM_CIPHER_get0_provider, +EVP_ASYM_CIPHER_is_a, EVP_ASYM_CIPHER_get0_provider, EVP_ASYM_CIPHER_do_all_provided, EVP_ASYM_CIPHER_names_do_all, EVP_ASYM_CIPHER_get0_name, EVP_ASYM_CIPHER_get0_description, EVP_ASYM_CIPHER_gettable_ctx_params, EVP_ASYM_CIPHER_settable_ctx_params @@ -17,7 +17,6 @@ EVP_ASYM_CIPHER_gettable_ctx_params, EVP_ASYM_CIPHER_settable_ctx_params const char *properties); void EVP_ASYM_CIPHER_free(EVP_ASYM_CIPHER *cipher); int EVP_ASYM_CIPHER_up_ref(EVP_ASYM_CIPHER *cipher); - int EVP_ASYM_CIPHER_get_number(const EVP_ASYM_CIPHER *cipher); const char *EVP_ASYM_CIPHER_get0_name(const EVP_ASYM_CIPHER *cipher); int EVP_ASYM_CIPHER_is_a(const EVP_ASYM_CIPHER *cipher, const char *name); OSSL_PROVIDER *EVP_ASYM_CIPHER_get0_provider(const EVP_ASYM_CIPHER *cipher); @@ -62,9 +61,6 @@ all activated providers in the given library context I<libctx>, and for each of the implementations, calls the given function I<fn> with the implementation method and the given I<arg> as argument. -EVP_ASYM_CIPHER_get_number() returns the internal dynamic number assigned to -I<cipher>. - EVP_ASYM_CIPHER_get0_name() returns the algorithm name from the provided implementation for the given I<cipher>. Note that the I<cipher> may have multiple synonyms associated with it. In this case the first name from the diff --git a/doc/man3/EVP_DigestInit.pod b/doc/man3/EVP_DigestInit.pod index b1d83c1b89..201c011095 100644 --- a/doc/man3/EVP_DigestInit.pod +++ b/doc/man3/EVP_DigestInit.pod @@ -12,7 +12,7 @@ EVP_MD_CTX_settable_params, EVP_MD_CTX_gettable_params, EVP_MD_CTX_set_flags, EVP_MD_CTX_clear_flags, EVP_MD_CTX_test_flags, EVP_Q_digest, EVP_Digest, EVP_DigestInit_ex2, EVP_DigestInit_ex, EVP_DigestInit, EVP_DigestUpdate, EVP_DigestFinal_ex, EVP_DigestFinalXOF, EVP_DigestFinal, -EVP_MD_is_a, EVP_MD_get0_name, EVP_MD_get0_description, EVP_MD_get_number, +EVP_MD_is_a, EVP_MD_get0_name, EVP_MD_get0_description, EVP_MD_names_do_all, EVP_MD_get0_provider, EVP_MD_get_type, EVP_MD_get_pkey_type, EVP_MD_get_size, EVP_MD_get_block_size, EVP_MD_get_flags, EVP_MD_CTX_get0_name, EVP_MD_CTX_md, EVP_MD_CTX_get0_md, EVP_MD_CTX_get1_md, @@ -72,7 +72,6 @@ EVP_MD_CTX_type, EVP_MD_CTX_pkey_ctx, EVP_MD_CTX_md_data const char *EVP_MD_get0_name(const EVP_MD *md); const char *EVP_MD_get0_description(const EVP_MD *md); - int EVP_MD_get_number(const EVP_MD *md); int EVP_MD_is_a(const EVP_MD *md, const char *name); int EVP_MD_names_do_all(const EVP_MD *md, void (*fn)(const char *name, void *data), @@ -327,11 +326,6 @@ EVP_sha256() rather than the result of an EVP_MD_fetch()), only cipher names registered with the default library context (see L<OSSL_LIB_CTX(3)>) will be considered. -=item EVP_MD_get_number() - -Returns the internal dynamic number assigned to the I<md>. This is -only useful with fetched B<EVP_MD>s. - =item EVP_MD_get0_name(), EVP_MD_CTX_get0_name() diff --git a/doc/man3/EVP_EncryptInit.pod b/doc/man3/EVP_EncryptInit.pod index cd4b8b5c56..965e0d9248 100644 --- a/doc/man3/EVP_EncryptInit.pod +++ b/doc/man3/EVP_EncryptInit.pod @@ -35,7 +35,6 @@ EVP_get_cipherbyobj, EVP_CIPHER_is_a, EVP_CIPHER_get0_name, EVP_CIPHER_get0_description, -EVP_CIPHER_get_number, EVP_CIPHER_names_do_all, EVP_CIPHER_get0_provider, EVP_CIPHER_get_nid, @@ -166,7 +165,6 @@ EVP_CIPHER_CTX_mode const EVP_CIPHER *EVP_get_cipherbyobj(const ASN1_OBJECT *a); int EVP_CIPHER_get_nid(const EVP_CIPHER *e); - int EVP_CIPHER_get_number(const EVP_CIPHER *e); int EVP_CIPHER_is_a(const EVP_CIPHER *cipher, const char *name); int EVP_CIPHER_names_do_all(const EVP_CIPHER *cipher, void (*fn)(const char *name, void *data), @@ -521,11 +519,6 @@ value from the likes of EVP_aes128() rather than the result of an EVP_CIPHER_fetch()), only cipher names registered with the default library context (see L<OSSL_LIB_CTX(3)>) will be considered. -=item EVP_CIPHER_get_number() - -Returns the internal dynamic number assigned to the I<cipher>. This is only -useful with fetched B<EVP_CIPHER>s. - =item EVP_CIPHER_get0_name() and EVP_CIPHER_CTX_get0_name() Return the name of the passed cipher or context. For fetched ciphers with diff --git a/doc/man3/EVP_KDF.pod b/doc/man3/EVP_KDF.pod index 2fd6651c2b..e89e703483 100644 --- a/doc/man3/EVP_KDF.pod +++ b/doc/man3/EVP_KDF.pod @@ -6,7 +6,7 @@ EVP_KDF, EVP_KDF_fetch, EVP_KDF_free, EVP_KDF_up_ref, EVP_KDF_CTX, EVP_KDF_CTX_new, EVP_KDF_CTX_free, EVP_KDF_CTX_dup, EVP_KDF_CTX_reset, EVP_KDF_derive, EVP_KDF_CTX_get_kdf_size, -EVP_KDF_get0_provider, EVP_KDF_CTX_kdf, EVP_KDF_is_a, EVP_KDF_get_number, +EVP_KDF_get0_provider, EVP_KDF_CTX_kdf, EVP_KDF_is_a, EVP_KDF_get0_name, EVP_KDF_names_do_all, EVP_KDF_get0_description, EVP_KDF_CTX_get_params, EVP_KDF_CTX_set_params, EVP_KDF_do_all_provided, EVP_KDF_get_params, EVP_KDF_gettable_params, @@ -32,7 +32,6 @@ EVP_KDF_CTX_gettable_params, EVP_KDF_CTX_settable_params - EVP KDF routines void EVP_KDF_free(EVP_KDF *kdf); EVP_KDF *EVP_KDF_fetch(OSSL_LIB_CTX *libctx, const char *algorithm, const char *properties); - int EVP_KDF_get_number(const EVP_KDF *kdf); int EVP_KDF_is_a(const EVP_KDF *kdf, const char *name); const char *EVP_KDF_get0_name(const EVP_KDF *kdf); const char *EVP_KDF_get0_description(const EVP_KDF *kdf); @@ -171,9 +170,6 @@ providers in the given library context I<libctx>, and for each of the implementations, calls the given function I<fn> with the implementation method and the given I<arg> as argument. -EVP_KDF_get_number() returns the internal dynamic number assigned to -I<kdf>. - EVP_KDF_get0_name() return the name of the given KDF. For fetched KDFs with multiple names, only one of them is returned; it's recommended to use EVP_KDF_names_do_all() instead. diff --git a/doc/man3/EVP_KEM_free.pod b/doc/man3/EVP_KEM_free.pod index 766825859b..e77b89d3b9 100644 --- a/doc/man3/EVP_KEM_free.pod +++ b/doc/man3/EVP_KEM_free.pod @@ -3,7 +3,7 @@ =head1 NAME EVP_KEM_fetch, EVP_KEM_free, EVP_KEM_up_ref, -EVP_KEM_get_number, EVP_KEM_get0_name, EVP_KEM_is_a, EVP_KEM_get0_provider, +EVP_KEM_get0_name, EVP_KEM_is_a, EVP_KEM_get0_provider, EVP_KEM_do_all_provided, EVP_KEM_names_do_all, EVP_KEM_get0_description, EVP_KEM_gettable_ctx_params, EVP_KEM_settable_ctx_params - Functions to manage EVP_KEM algorithm objects @@ -16,7 +16,6 @@ EVP_KEM_gettable_ctx_params, EVP_KEM_settable_ctx_params const char *properties); void EVP_KEM_free(EVP_KEM *kem); int EVP_KEM_up_ref(EVP_KEM *kem); - int EVP_KEM_get_number(const EVP_KEM *kem); const char *EVP_KEM_get0_name(const EVP_KEM *kem); int EVP_KEM_is_a(const EVP_KEM *kem, const char *name); OSSL_PROVIDER *EVP_KEM_get0_provider(const EVP_KEM *kem); @@ -55,8 +54,6 @@ providers in the given library context I<libctx>, and for each of the implementations, calls the given function I<fn> with the implementation method and the given I<arg> as argument. -EVP_KEM_get_number() returns the internal dynamic number assigned to I<kem>. - EVP_KEM_get0_name() returns the algorithm name from the provided implementation for the given I<kem>. Note that the I<kem> may have multiple synonyms associated with it. In this case the first name from the diff --git a/doc/man3/EVP_KEYEXCH_free.pod b/doc/man3/EVP_KEYEXCH_free.pod index 28eaf523f8..42c7e1289c 100644 --- a/doc/man3/EVP_KEYEXCH_free.pod +++ b/doc/man3/EVP_KEYEXCH_free.pod @@ -4,8 +4,7 @@ EVP_KEYEXCH_fetch, EVP_KEYEXCH_free, EVP_KEYEXCH_up_ref, EVP_KEYEXCH_get0_provider, EVP_KEYEXCH_is_a, EVP_KEYEXCH_do_all_provided, -EVP_KEYEXCH_get_number, EVP_KEYEXCH_names_do_all, -EVP_KEYEXCH_get0_name, EVP_KEYEXCH_get0_description, +EVP_KEYEXCH_names_do_all, EVP_KEYEXCH_get0_name, EVP_KEYEXCH_get0_description, EVP_KEYEXCH_gettable_ctx_params, EVP_KEYEXCH_settable_ctx_params - Functions to manage EVP_KEYEXCH algorithm objects @@ -19,7 +18,6 @@ EVP_KEYEXCH_gettable_ctx_params, EVP_KEYEXCH_settable_ctx_params int EVP_KEYEXCH_up_ref(EVP_KEYEXCH *exchange); OSSL_PROVIDER *EVP_KEYEXCH_get0_provider(const EVP_KEYEXCH *exchange); int EVP_KEYEXCH_is_a(const EVP_KEYEXCH *exchange, const char *name); - int EVP_KEYEXCH_get_number(const EVP_KEYEXCH *exchange); const char *EVP_KEYEXCH_get0_name(const EVP_KEYEXCH *exchange); void EVP_KEYEXCH_do_all_provided(OSSL_LIB_CTX *libctx, void (*fn)(EVP_KEYEXCH *exchange, void *arg), @@ -54,9 +52,6 @@ fetched from. EVP_KEYEXCH_is_a() checks if I<exchange> is an implementation of an algorithm that's identifiable with I<name>. -EVP_KEYEXCH_get_number() returns the internal dynamic number assigned to -the I<exchange>. - EVP_KEYEXCH_get0_name() returns the algorithm name from the provided implementation for the given I<exchange>. Note that the I<exchange> may have multiple synonyms associated with it. In this case the first name from the @@ -93,8 +88,6 @@ names. A return value of 0 means that the callback was not called for any names. EVP_KEYEXCH_is_a() returns 1 of I<exchange> was identifiable, otherwise 0. -EVP_KEYEXCH_get_number() returns an integer. - EVP_KEYEXCH_gettable_ctx_params() and EVP_KEYEXCH_settable_ctx_params() return a constant B<OSSL_PARAM> array or NULL on error. diff --git a/doc/man3/EVP_KEYMGMT.pod b/doc/man3/EVP_KEYMGMT.pod index de5a9256a0..6b6e117369 100644 --- a/doc/man3/EVP_KEYMGMT.pod +++ b/doc/man3/EVP_KEYMGMT.pod @@ -8,7 +8,6 @@ EVP_KEYMGMT_up_ref, EVP_KEYMGMT_free, EVP_KEYMGMT_get0_provider, EVP_KEYMGMT_is_a, -EVP_KEYMGMT_get_number, EVP_KEYMGMT_get0_description, EVP_KEYMGMT_get0_name, EVP_KEYMGMT_do_all_provided, @@ -30,7 +29,6 @@ EVP_KEYMGMT_gen_settable_params void EVP_KEYMGMT_free(EVP_KEYMGMT *keymgmt); const OSSL_PROVIDER *EVP_KEYMGMT_get0_provider(const EVP_KEYMGMT *keymgmt); int EVP_KEYMGMT_is_a(const EVP_KEYMGMT *keymgmt, const char *name); - int EVP_KEYMGMT_get_number(const EVP_KEYMGMT *keymgmt); const char *EVP_KEYMGMT_get0_name(const EVP_KEYMGMT *keymgmt); const char *EVP_KEYMGMT_get0_description(const EVP_KEYMGMT *keymgmt); @@ -71,9 +69,6 @@ implementation. EVP_KEYMGMT_is_a() checks if I<keymgmt> is an implementation of an algorithm that's identifiable with I<name>. -EVP_KEYMGMT_get_number() returns the internal dynamic number assigned to -the I<keymgmt>. - EVP_KEYMGMT_get0_name() returns the algorithm name from the provided implementation for the given I<keymgmt>. Note that the I<keymgmt> may have multiple synonyms associated with it. In this case the first name from the @@ -127,8 +122,6 @@ on error. EVP_KEYMGMT_is_a() returns 1 of I<keymgmt> was identifiable, otherwise 0. -EVP_KEYMGMT_get_number() returns an integer. - EVP_KEYMGMT_get0_name() returns the algorithm name, or NULL on error. EVP_KEYMGMT_get0_description() returns a pointer to a decription, or NULL if diff --git a/doc/man3/EVP_MAC.pod b/doc/man3/EVP_MAC.pod index 6468e22a02..0c68f42b6f 100644 --- a/doc/man3/EVP_MAC.pod +++ b/doc/man3/EVP_MAC.pod @@ -3,8 +3,7 @@ =head1 NAME EVP_MAC, EVP_MAC_fetch, EVP_MAC_up_ref, EVP_MAC_free, EVP_MAC_is_a, -EVP_MAC_get_number, EVP_MAC_get0_name, EVP_MAC_names_do_all, -EVP_MAC_get0_description, +EVP_MAC_get0_name, EVP_MAC_names_do_all, EVP_MAC_get0_description, EVP_MAC_get0_provider, EVP_MAC_get_params, EVP_MAC_gettable_params, EVP_MAC_CTX, EVP_MAC_CTX_new, EVP_MAC_CTX_free, EVP_MAC_CTX_dup, EVP_MAC_CTX_get0_mac, EVP_MAC_CTX_get_params, EVP_MAC_CTX_set_params, @@ -26,7 +25,6 @@ EVP_MAC_do_all_provided - EVP MAC routines int EVP_MAC_up_ref(EVP_MAC *mac); void EVP_MAC_free(EVP_MAC *mac); int EVP_MAC_is_a(const EVP_MAC *mac, const char *name); - int EVP_MAC_get_number(const EVP_MAC *mac); const char *EVP_MAC_get0_name(const EVP_MAC *mac); int EVP_MAC_names_do_all(const EVP_MAC *mac, void (*fn)(const char *name, void *data), @@ -228,9 +226,6 @@ providers in the given library context I<libctx>, and for each of the implementations, calls the given function I<fn> with the implementation method and the given I<arg> as argument. -EVP_MAC_get_number() returns the internal dynamic number assigned to -I<mac>. - EVP_MAC_get0_name() return the name of the given MAC. For fetched MACs with multiple names, only one of them is returned; it's recommended to use EVP_MAC_names_do_all() instead. diff --git a/doc/man3/EVP_RAND.pod b/doc/man3/EVP_RAND.pod index bcee801c4e..f21b2f69d7 100644 --- a/doc/man3/EVP_RAND.pod +++ b/doc/man3/EVP_RAND.pod @@ -8,7 +8,7 @@ EVP_RAND_uninstantiate, EVP_RAND_generate, EVP_RAND_reseed, EVP_RAND_nonce, EVP_RAND_enable_locking, EVP_RAND_verify_zeroization, EVP_RAND_get_strength, EVP_RAND_get_state, EVP_RAND_get0_provider, EVP_RAND_CTX_get0_rand, EVP_RAND_is_a, -EVP_RAND_get_number, EVP_RAND_get0_name, EVP_RAND_names_do_all, +EVP_RAND_get0_name, EVP_RAND_names_do_all, EVP_RAND_get0_description, EVP_RAND_CTX_get_params, EVP_RAND_CTX_set_params, EVP_RAND_do_all_provided, EVP_RAND_get_params, @@ -39,7 +39,6 @@ EVP_RAND_STATE_ERROR - EVP RAND routines const OSSL_PARAM *EVP_RAND_settable_ctx_params(const EVP_RAND *rand); const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx); const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx); - int EVP_RAND_get_number(const EVP_RAND *rand); const char *EVP_RAND_get0_name(const EVP_RAND *rand); const char *EVP_RAND_get0_description(const EVP_RAND *rand); int EVP_RAND_is_a(const EVP_RAND *rand, const char *name); @@ -243,9 +242,6 @@ providers in the given library context I<libctx>, and for each of the implementations, calls the given function I<fn> with the implementation method and the given I<arg> as argument. -EVP_RAND_get_number() returns the internal dynamic number assigned to -I<rand>. - EVP_RAND_get0_name() returns the canonical name of I<rand>. EVP_RAND_names_do_all() traverses all names for I<rand>, and calls @@ -361,9 +357,6 @@ with the context. EVP_RAND_get0_name() returns the name of the random number generation algorithm. -EVP_RAND_get_number() returns the provider specific identification number -for the specified algorithm. - EVP_RAND_up_ref() returns 1 on success, 0 on error. EVP_RAND_names_do_all() returns 1 if the callback was called for all names. A diff --git a/doc/man3/EVP_SIGNATURE_free.pod b/doc/man3/EVP_SIGNATURE_free.pod index 5c506dc67c..4642f40efc 100644 --- a/doc/man3/EVP_SIGNATURE_free.pod +++ b/doc/man3/EVP_SIGNATURE_free.pod @@ -3,7 +3,7 @@ =head1 NAME EVP_SIGNATURE_fetch, EVP_SIGNATURE_free, EVP_SIGNATURE_up_ref, -EVP_SIGNATURE_get_number, EVP_SIGNATURE_is_a, EVP_SIGNATURE_get0_provider, +EVP_SIGNATURE_is_a, EVP_SIGNATURE_get0_provider, EVP_SIGNATURE_do_all_provided, EVP_SIGNATURE_names_do_all, EVP_SIGNATURE_get0_name, EVP_SIGNATURE_get0_description, EVP_SIGNATURE_gettable_ctx_params, EVP_SIGNATURE_settable_ctx_params @@ -17,7 +17,6 @@ EVP_SIGNATURE_gettable_ctx_params, EVP_SIGNATURE_settable_ctx_params const char *properties); void EVP_SIGNATURE_free(EVP_SIGNATURE *signature); int EVP_SIGNATURE_up_ref(EVP_SIGNATURE *signature); - int EVP_SIGNATURE_get_number(const EVP_SIGNATURE *signature); const char *EVP_SIGNATURE_get0_name(const EVP_SIGNATURE *signature); int EVP_SIGNATURE_is_a(const EVP_SIGNATURE *signature, const char *name); OSSL_PROVIDER *EVP_SIGNATURE_get0_provider(const EVP_SIGNATURE *signature); @@ -63,9 +62,6 @@ activated roviders in the given library context I<libctx>, and for each of the implementations, calls the given function I<fn> with the implementation method and the given I<arg> as argument. -EVP_SIGNATURE_get_number() returns the internal dynamic number assigned to -I<signature>. - EVP_SIGNATURE_get0_name() returns the algorithm name from the provided implementation for the given I<signature>. Note that the I<signature> may have multiple synonyms associated with it. In this case the first name from the diff --git a/doc/man3/OSSL_DECODER.pod b/doc/man3/OSSL_DECODER.pod index 10917ed462..d912511c7d 100644 --- a/doc/man3/OSSL_DECODER.pod +++ b/doc/man3/OSSL_DECODER.pod @@ -9,7 +9,6 @@ OSSL_DECODER_free, OSSL_DECODER_get0_provider, OSSL_DECODER_get0_properties, OSSL_DECODER_is_a, -OSSL_DECODER_get_number, OSSL_DECODER_get0_name, OSSL_DECODER_get0_description, OSSL_DECODER_do_all_provided, @@ -31,7 +30,6 @@ OSSL_DECODER_get_params const OSSL_PROVIDER *OSSL_DECODER_get0_provider(const OSSL_DECODER *decoder); const char *OSSL_DECODER_get0_properties(const OSSL_DECODER *decoder); int OSSL_DECODER_is_a(const OSSL_DECODER *decoder, const char *name); - int OSSL_DECODER_get_number(const OSSL_DECODER *decoder); const char *OSSL_DECODER_get0_name(const OSSL_DECODER *decoder); const char *OSSL_DECODER_get0_description(const OSSL_DECODER *decoder); void OSSL_DECODER_do_all_provided(OSSL_LIB_CTX *libctx, @@ -73,10 +71,7 @@ with the given I<decoder>. OSSL_DECODER_is_a() checks if I<decoder> is an implementation of an algorithm that's identifiable with I<name>. -OSSL_DECODER_get_number() returns the internal dynamic number assigned -to the given I<decoder>. - -OSSL_DECODER_get_number() returns the name used to fetch the given I<decoder>. +ossl_decoder_get_number() returns the name used to fetch the given I<decoder>. OSSL_DECODER_get0_description() returns a description of the I<decoder>, meant for display and human consumption. The description is at the discretion @@ -115,8 +110,6 @@ definition string, or NULL on error. OSSL_DECODER_is_a() returns 1 if I<decoder> was identifiable, otherwise 0. -OSSL_DECODER_get_number() returns an integer. - OSSL_DECODER_get0_name() returns the algorithm name from the provided implementation for the given I<decoder>. Note that the I<decoder> may have multiple synonyms associated with it. In this case the first name from the diff --git a/doc/man3/OSSL_ENCODER.pod b/doc/man3/OSSL_ENCODER.pod index 0ff37a3b82..be733600c9 100644 --- a/doc/man3/OSSL_ENCODER.pod +++ b/doc/man3/OSSL_ENCODER.pod @@ -9,7 +9,6 @@ OSSL_ENCODER_free, OSSL_ENCODER_get0_provider, OSSL_ENCODER_get0_properties, OSSL_ENCODER_is_a, -OSSL_ENCODER_get_number, OSSL_ENCODER_get0_name, OSSL_ENCODER_get0_description, OSSL_ENCODER_do_all_provided, @@ -31,7 +30,6 @@ OSSL_ENCODER_get_params const OSSL_PROVIDER *OSSL_ENCODER_get0_provider(const OSSL_ENCODER *encoder); const char *OSSL_ENCODER_get0_properties(const OSSL_ENCODER *encoder); int OSSL_ENCODER_is_a(const OSSL_ENCODER *encoder, const char *name); - int OSSL_ENCODER_get_number(const OSSL_ENCODER *encoder); const char *OSSL_ENCODER_get0_name(const OSSL_ENCODER *encoder); const char *OSSL_ENCODER_get0_description(const OSSL_ENCODER *encoder); void OSSL_ENCODER_do_all_provided(OSSL_LIB_CTX *libctx, @@ -73,10 +71,7 @@ with the given I<encoder>. OSSL_ENCODER_is_a() checks if I<encoder> is an implementation of an algorithm that's identifiable with I<name>. -OSSL_ENCODER_get_number() returns the internal dynamic number assigned to -the given I<encoder>. - -OSSL_ENCODER_get_number() returns the name used to fetch the given I<encoder>. +ossl_encoder_get_number() returns the name used to fetch the given I<encoder>. OSSL_ENCODER_get0_description() returns a description of the I<loader>, meant for display and human consumption. The description is at the discretion of the @@ -116,8 +111,6 @@ definition string, or NULL on error. OSSL_ENCODER_is_a() returns 1 of I<encoder> was identifiable, otherwise 0. -OSSL_ENCODER_get_number() returns an integer. - OSSL_ENCODER_get0_name() returns the algorithm name from the provided implementation for the given I<encoder>. Note that the I<encoder> may have multiple synonyms associated with it. In this case the first name from the diff --git a/doc/man3/OSSL_STORE_LOADER.pod b/doc/man3/OSSL_STORE_LOADER.pod index 1d790fa6d7..04fd318897 100644 --- a/doc/man3/OSSL_STORE_LOADER.pod +++ b/doc/man3/OSSL_STORE_LOADER.pod @@ -9,7 +9,6 @@ OSSL_STORE_LOADER_free, OSSL_STORE_LOADER_get0_provider, OSSL_STORE_LOADER_get0_properties, OSSL_STORE_LOADER_is_a, -OSSL_STORE_LOADER_get_number, OSSL_STORE_LOADER_get0_description, OSSL_STORE_LOADER_do_all_provided, OSSL_STORE_LOADER_names_do_all, @@ -42,7 +41,6 @@ unregister STORE loaders for different URI schemes const OSSL_PROVIDER *OSSL_STORE_LOADER_get0_provider(const OSSL_STORE_LOADER * loader); const char *OSSL_STORE_LOADER_get0_properties(const OSSL_STORE_LOADER *loader); - int OSSL_STORE_LOADER_get_number(const OSSL_STORE_LOADER *loader); const char *OSSL_STORE_LOADER_get0_description(const OSSL_STORE_LOADER *loader); int OSSL_STORE_LOADER_is_a(const OSSL_STORE_LOADER *loader, const char *scheme); @@ -138,9 +136,6 @@ with the given I<loader>. OSSL_STORE_LOADER_is_a() checks if I<loader> is an implementation of an algorithm that's identifiable with I<scheme>. -OSSL_STORE_LOADER_get_number() returns the internal dynamic number assigned -to the given I<loader>. - OSSL_STORE_LOADER_get0_description() returns a description of the I<loader>, meant for display and human consumption. The description is at the discretion of the I<loader> implementation. @@ -332,8 +327,6 @@ definition string, or NULL on error. OSSL_STORE_LOADER_is_a() returns 1 if I<loader> was identifiable, otherwise 0. -OSSL_STORE_LOADER_get_number() returns an integer. - OSSL_STORE_LOADER_get0_description() returns a pointer to a decription, or NULL if there isn't one. @@ -367,7 +360,7 @@ L<provider-storemgmt(7)> OSSL_STORE_LOADER_fetch(), OSSL_STORE_LOADER_up_ref(), OSSL_STORE_LOADER_free(), OSSL_STORE_LOADER_get0_provider(), OSSL_STORE_LOADER_get0_properties(), OSSL_STORE_LOADER_is_a(), -OSSL_STORE_LOADER_get_number(), OSSL_STORE_LOADER_do_all_provided() and +OSSL_STORE_LOADER_do_all_provided() and OSSL_STORE_LOADER_names_do_all() were added in OpenSSL 3.0. OSSL_STORE_open_ex_fn() was added in OpenSSL 3.0. |