doc: make XXX_get_number() internal
authorPauli <pauli@openssl.org>
Tue, 1 Jun 2021 11:17:47 +0000 (21:17 +1000)
committerPauli <pauli@openssl.org>
Wed, 2 Jun 2021 10:45:39 +0000 (20:45 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564)

13 files changed:
doc/man3/EVP_ASYM_CIPHER_free.pod
doc/man3/EVP_DigestInit.pod
doc/man3/EVP_EncryptInit.pod
doc/man3/EVP_KDF.pod
doc/man3/EVP_KEM_free.pod
doc/man3/EVP_KEYEXCH_free.pod
doc/man3/EVP_KEYMGMT.pod
doc/man3/EVP_MAC.pod
doc/man3/EVP_RAND.pod
doc/man3/EVP_SIGNATURE_free.pod
doc/man3/OSSL_DECODER.pod
doc/man3/OSSL_ENCODER.pod
doc/man3/OSSL_STORE_LOADER.pod

index 2b34eb4469779666260603f2346a733a3f974d95..72910a559901586923a354173b22ec70afe95387 100644 (file)
@@ -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
index b1d83c1b89965d9e125d430248ad6e5279e92993..201c0110954de4dab527ecacab01dfc0831bed11 100644 (file)
@@ -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()
 
index cd4b8b5c568b80a42a03e214dc173d28cb6cdb5c..965e0d92489e2e52117c11eb95b5f4de87713489 100644 (file)
@@ -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
index 2fd6651c2b6761b2ae57e8532131c2ba611f1eb4..e89e7034836d30554a644b8b97ca4b099fae316d 100644 (file)
@@ -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.
index 766825859b814e0504063cb2d7d0a4beacda9e25..e77b89d3b97fcaadeb3a187bff3fc9ead3fdca50 100644 (file)
@@ -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
index 28eaf523f81de86d18c7cdfe3e2b29d6ce5cea77..42c7e1289c00efb36c7ab686c0c49635ce486374 100644 (file)
@@ -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.
 
index de5a9256a08fad1ce801b987c54799605fceee23..6b6e1173696a71ee33b993c3c2bd87e1089e29b8 100644 (file)
@@ -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
index 6468e22a02bcbe097bb92d644f11d921d0f1218d..0c68f42b6f4cb31792cedd476dbfd59018434522 100644 (file)
@@ -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.
index bcee801c4edd9765d1579b2fe381125af1f37d95..f21b2f69d73638193e1f54c4ee35b3ad3fa53497 100644 (file)
@@ -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
index 5c506dc67cbf1873be451f1eb908af453bed1368..4642f40efc146a54b757a466f1cd1ccdb347eb76 100644 (file)
@@ -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
index 10917ed462dab30c2f4b82646c7443574923d7c7..d912511c7de217441e1f32096d9cbf25b2b34310 100644 (file)
@@ -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
index 0ff37a3b82c0266d1a71354a1d68a9519c12971b..be733600c96ae557209823092c734865642c00e1 100644 (file)
@@ -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
index 1d790fa6d788ccab6b82873d841062090ced0471..04fd318897f99d48f745b71e3db7c0311c48c70d 100644 (file)
@@ -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.