]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Replace some boldened types with a corresponding man page link
authorRichard Levitte <levitte@openssl.org>
Mon, 5 Dec 2022 15:59:06 +0000 (16:59 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 8 Dec 2022 06:32:34 +0000 (07:32 +0100)
The types OSSL_DISPATCH, OSSL_ITEM, OSSL_ALGORITHM, OSSL_PARAM,
OSSL_CALLBACK, and OSSL_PASSPHRASE_CALLBACK are described in their own
manual page, so we change every mention of them to links to those pages.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19842)

42 files changed:
doc/internal/man3/ossl_provider_new.pod
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_PKEY_CTX_set_params.pod
doc/man3/EVP_PKEY_fromdata.pod
doc/man3/EVP_PKEY_gettable_params.pod
doc/man3/EVP_PKEY_todata.pod
doc/man3/EVP_RAND.pod
doc/man3/EVP_SIGNATURE.pod
doc/man3/OSSL_CALLBACK.pod
doc/man3/OSSL_DECODER_CTX_new_for_pkey.pod
doc/man3/OSSL_ENCODER_CTX_new_for_pkey.pod
doc/man3/OSSL_PARAM_allocate_from_text.pod
doc/man3/OSSL_PARAM_dup.pod
doc/man3/OSSL_PARAM_int.pod
doc/man3/OSSL_PROVIDER.pod
doc/man3/OSSL_SELF_TEST_new.pod
doc/man3/OSSL_SELF_TEST_set_callback.pod
doc/man3/OSSL_STORE_open.pod
doc/man7/crypto.pod
doc/man7/migration_guide.pod
doc/man7/provider-asym_cipher.pod
doc/man7/provider-base.pod
doc/man7/provider-cipher.pod
doc/man7/provider-decoder.pod
doc/man7/provider-digest.pod
doc/man7/provider-encoder.pod
doc/man7/provider-kdf.pod
doc/man7/provider-kem.pod
doc/man7/provider-keyexch.pod
doc/man7/provider-keymgmt.pod
doc/man7/provider-mac.pod
doc/man7/provider-rand.pod
doc/man7/provider-signature.pod
doc/man7/provider-storemgmt.pod
doc/man7/provider.pod

index 6ea298e0a9a8ccbf05288a225664ca5fe8e9da4b..e170edf343af7aa43df53599f7286fcff5132c47 100644 (file)
@@ -295,7 +295,7 @@ I<*result> to 1 or 0 accorddingly.
 
 ossl_provider_init_as_child() stores in the library context I<ctx> references to
 the necessary upcalls for managing child providers. The I<handle> and I<in>
-parameters are the B<OSSL_CORE_HANDLE> and B<OSSL_DISPATCH> pointers that were
+parameters are the B<OSSL_CORE_HANDLE> and L<OSSL_DISPATCH(3)> pointers that were
 passed to the provider's B<OSSL_provider_init> function.
 
 ossl_provider_deinit_child() deregisters callbacks from the parent library
index 72910a559901586923a354173b22ec70afe95387..c158ec1ae74a7e82474e28344967956ce7735648 100644 (file)
@@ -75,7 +75,7 @@ meant for display and human consumption.  The description is at the
 discretion of the I<cipher> implementation.
 
 EVP_ASYM_CIPHER_gettable_ctx_params() and EVP_ASYM_CIPHER_settable_ctx_params()
-return a constant B<OSSL_PARAM> array that describes the names and types of key
+return a constant L<OSSL_PARAM(3)> array that describes the names and types of key
 parameters that can be retrieved or set by a key encryption algorithm using
 L<EVP_PKEY_CTX_get_params(3)> and L<EVP_PKEY_CTX_set_params(3)>.
 
@@ -90,7 +90,7 @@ EVP_ASYM_CIPHER_names_do_all() returns 1 if the callback was called for all
 names. A return value of 0 means that the callback was not called for any names.
 
 EVP_ASYM_CIPHER_gettable_ctx_params() and EVP_ASYM_CIPHER_settable_ctx_params()
-return a constant B<OSSL_PARAM> array or NULL on error.
+return a constant L<OSSL_PARAM(3)> array or NULL on error.
 
 =head1 SEE ALSO
 
index 2bbd35f395fc582dfc43d3b752ff7bcce69da1ee..183f2e09bd82edbd03b8e3bca3dc3080b24025b5 100644 (file)
@@ -208,27 +208,24 @@ See L</PARAMETERS> below for more information.
 
 =item EVP_MD_gettable_params()
 
-Get a constant B<OSSL_PARAM> array that describes the retrievable parameters
-that can be used with EVP_MD_get_params().  See L<OSSL_PARAM(3)> for the
-use of B<OSSL_PARAM> as a parameter descriptor.
+Get a constant L<OSSL_PARAM(3)> array that describes the retrievable parameters
+that can be used with EVP_MD_get_params().
 
 =item EVP_MD_gettable_ctx_params(), EVP_MD_CTX_gettable_params()
 
-Get a constant B<OSSL_PARAM> array that describes the retrievable parameters
+Get a constant L<OSSL_PARAM(3)> array that describes the retrievable parameters
 that can be used with EVP_MD_CTX_get_params().  EVP_MD_gettable_ctx_params()
 returns the parameters that can be retrieved from the algorithm, whereas
 EVP_MD_CTX_gettable_params() returns the parameters that can be retrieved
-in the context's current state.  See L<OSSL_PARAM(3)> for the use of
-B<OSSL_PARAM> as a parameter descriptor.
+in the context's current state.
 
 =item EVP_MD_settable_ctx_params(), EVP_MD_CTX_settable_params()
 
-Get a constant B<OSSL_PARAM> array that describes the settable parameters
+Get a constant L<OSSL_PARAM(3)> array that describes the settable parameters
 that can be used with EVP_MD_CTX_set_params().  EVP_MD_settable_ctx_params()
 returns the parameters that can be set from the algorithm, whereas
 EVP_MD_CTX_settable_params() returns the parameters that can be set in the
-context's current state.  See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM>
-as a parameter descriptor.
+context's current state.
 
 =item EVP_MD_CTX_set_flags(), EVP_MD_CTX_clear_flags(), EVP_MD_CTX_test_flags()
 
@@ -596,7 +593,7 @@ Returns 1 if successful or 0 for failure.
 =item EVP_MD_CTX_settable_params(),
 EVP_MD_CTX_gettable_params()
 
-Return an array of constant B<OSSL_PARAM>s, or NULL if there is none
+Return an array of constant L<OSSL_PARAM(3)>s, or NULL if there is none
 to get.
 
 =item EVP_MD_CTX_dup()
index dafa71c9f66e080ffe9cb3d9537d666cb19126a6..1d5cb6c7595d50d715a9785d1e6d24663790b8fe 100644 (file)
@@ -330,27 +330,24 @@ See L</PARAMETERS> below for more information.
 
 =item EVP_CIPHER_gettable_params()
 
-Get a constant B<OSSL_PARAM> array that describes the retrievable parameters
-that can be used with EVP_CIPHER_get_params().  See L<OSSL_PARAM(3)> for the
-use of B<OSSL_PARAM> as a parameter descriptor.
+Get a constant L<OSSL_PARAM(3)> array that describes the retrievable parameters
+that can be used with EVP_CIPHER_get_params().
 
 =item EVP_CIPHER_gettable_ctx_params() and EVP_CIPHER_CTX_gettable_params()
 
-Get a constant B<OSSL_PARAM> array that describes the retrievable parameters
+Get a constant L<OSSL_PARAM(3)> array that describes the retrievable parameters
 that can be used with EVP_CIPHER_CTX_get_params().
 EVP_CIPHER_gettable_ctx_params() returns the parameters that can be retrieved
 from the algorithm, whereas EVP_CIPHER_CTX_gettable_params() returns the
 parameters that can be retrieved in the context's current state.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
 =item EVP_CIPHER_settable_ctx_params() and EVP_CIPHER_CTX_settable_params()
 
-Get a constant B<OSSL_PARAM> array that describes the settable parameters
+Get a constant L<OSSL_PARAM(3)> array that describes the settable parameters
 that can be used with EVP_CIPHER_CTX_set_params().
 EVP_CIPHER_settable_ctx_params() returns the parameters that can be set from the
 algorithm, whereas EVP_CIPHER_CTX_settable_params() returns the parameters that
 can be set in the context's current state.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
 =item EVP_EncryptInit_ex2()
 
@@ -654,7 +651,7 @@ See L<OSSL_PARAM(3)> for information about passing parameters.
 When EVP_CIPHER_fetch() is called it internally calls EVP_CIPHER_get_params()
 and caches the results.
 
-EVP_CIPHER_get_params() can be used with the following B<OSSL_PARAM> keys:
+EVP_CIPHER_get_params() can be used with the following L<OSSL_PARAM(3)> keys:
 
 =over 4
 
@@ -725,7 +722,7 @@ all other OpenSSL ciphers return 0.
 
 =head2 Gettable and Settable EVP_CIPHER_CTX parameters
 
-The following B<OSSL_PARAM> keys can be used with both EVP_CIPHER_CTX_get_params()
+The following L<OSSL_PARAM(3)> keys can be used with both EVP_CIPHER_CTX_get_params()
 and EVP_CIPHER_CTX_set_params().
 
 =over 4
@@ -816,7 +813,7 @@ cipher operation (either 4 or 8 records).
 
 =head2 Gettable EVP_CIPHER_CTX parameters
 
-The following B<OSSL_PARAM> keys can be used with EVP_CIPHER_CTX_get_params():
+The following L<OSSL_PARAM(3)> keys can be used with EVP_CIPHER_CTX_get_params():
 
 =over 4
 
@@ -885,7 +882,7 @@ Used to pass the TLS MAC data.
 
 =head2 Settable EVP_CIPHER_CTX parameters
 
-The following B<OSSL_PARAM> keys can be used with EVP_CIPHER_CTX_set_params():
+The following L<OSSL_PARAM(3)> keys can be used with EVP_CIPHER_CTX_set_params():
 
 =over 4
 
index a8cc83324e427ccd7a55da75ba606dc469fc0f32..3b4e2b79aa145803c55ae31d0f9dd621c36db996 100644 (file)
@@ -131,26 +131,23 @@ simply ignored.
 Also, what happens when a needed parameter isn't passed down is
 defined by the implementation.
 
-EVP_KDF_gettable_params() returns an B<OSSL_PARAM> array that describes
+EVP_KDF_gettable_params() returns an L<OSSL_PARAM(3)> array that describes
 the retrievable and settable parameters.  EVP_KDF_gettable_params()
 returns parameters that can be used with EVP_KDF_get_params().
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
 EVP_KDF_gettable_ctx_params() and EVP_KDF_CTX_gettable_params()
-return constant B<OSSL_PARAM> arrays that describe the retrievable
+return constant L<OSSL_PARAM(3)> arrays that describe the retrievable
 parameters that can be used with EVP_KDF_CTX_get_params().
 EVP_KDF_gettable_ctx_params() returns the parameters that can be retrieved
 from the algorithm, whereas EVP_KDF_CTX_gettable_params() returns
 the parameters that can be retrieved in the context's current state.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
 EVP_KDF_settable_ctx_params() and EVP_KDF_CTX_settable_params() return
-constant B<OSSL_PARAM> arrays that describe the settable parameters that
+constant L<OSSL_PARAM(3)> arrays that describe the settable parameters that
 can be used with EVP_KDF_CTX_set_params().  EVP_KDF_settable_ctx_params()
 returns the parameters that can be retrieved from the algorithm,
 whereas EVP_KDF_CTX_settable_params() returns the parameters that can
-be retrieved in the context's current state.  See L<OSSL_PARAM(3)>
-for the use of B<OSSL_PARAM> as a parameter descriptor.
+be retrieved in the context's current state.
 
 =head2 Information functions
 
index e77b89d3b97fcaadeb3a187bff3fc9ead3fdca50..575abc5f5798c3ee072a39a88783c6a3b7b5cca7 100644 (file)
@@ -68,7 +68,7 @@ display and human consumption.  The description is at the discretion of
 the I<kem> implementation.
 
 EVP_KEM_gettable_ctx_params() and EVP_KEM_settable_ctx_params() return
-a constant B<OSSL_PARAM> array that describes the names and types of key
+a constant L<OSSL_PARAM(3)> array that describes the names and types of key
 parameters that can be retrieved or set by a key encapsulation algorithm using
 L<EVP_PKEY_CTX_get_params(3)> and L<EVP_PKEY_CTX_set_params(3)>.
 
@@ -83,7 +83,7 @@ EVP_KEM_names_do_all() returns 1 if the callback was called for all names. A
 return value of 0 means that the callback was not called for any names.
 
 EVP_KEM_gettable_ctx_params() and EVP_KEM_settable_ctx_params() return
-a constant B<OSSL_PARAM> array or NULL on error.
+a constant L<OSSL_PARAM(3)> array or NULL on error.
 
 =head1 SEE ALSO
 
index 42c7e1289c00efb36c7ab686c0c49635ce486374..272855ccb3dd8106a4178dd5949c1beb44509add 100644 (file)
@@ -71,7 +71,7 @@ of the implementations, calls I<fn> with the implementation method and
 I<data> as arguments.
 
 EVP_KEYEXCH_gettable_ctx_params() and EVP_KEYEXCH_settable_ctx_params() return
-a constant B<OSSL_PARAM> array that describes the names and types of key
+a constant L<OSSL_PARAM(3)> array that describes the names and types of key
 parameters that can be retrieved or set by a key exchange algorithm using
 L<EVP_PKEY_CTX_get_params(3)> and L<EVP_PKEY_CTX_set_params(3)>.
 
@@ -89,7 +89,7 @@ EVP_KEYEXCH_is_a() returns 1 of I<exchange> was identifiable,
 otherwise 0.
 
 EVP_KEYEXCH_gettable_ctx_params() and EVP_KEYEXCH_settable_ctx_params() return
-a constant B<OSSL_PARAM> array or NULL on error.
+a constant L<OSSL_PARAM(3)> array or NULL on error.
 
 =head1 SEE ALSO
 
index 2131694e0b8de364c5b1cbe66124ceaee2eddfd4..da03286a996e4f5fed517d262a08198fd225d7e3 100644 (file)
@@ -88,12 +88,11 @@ of the implementations, calls I<fn> with the implementation method and
 I<data> as arguments.
 
 EVP_KEYMGMT_gettable_params() and EVP_KEYMGMT_settable_params() return a
-constant B<OSSL_PARAM> array that describes the names and types of key
+constant L<OSSL_PARAM(3)> array that describes the names and types of key
 parameters that can be retrieved or set.
 EVP_KEYMGMT_gettable_params() is used by L<EVP_PKEY_gettable_params(3)>.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
-EVP_KEYMGMT_gen_settable_params() returns a constant B<OSSL_PARAM> array that
+EVP_KEYMGMT_gen_settable_params() returns a constant L<OSSL_PARAM(3)> array that
 describes the names and types of key generation parameters that can be set via
 L<EVP_PKEY_CTX_set_params(3)>.
 
@@ -128,7 +127,7 @@ EVP_KEYMGMT_get0_description() returns a pointer to a description, or NULL if
 there isn't one.
 
 EVP_KEYMGMT_gettable_params(), EVP_KEYMGMT_settable_params() and
-EVP_KEYMGMT_gen_settable_params() return a constant B<OSSL_PARAM> array or
+EVP_KEYMGMT_gen_settable_params() return a constant L<OSSL_PARAM(3)> array or
 NULL on error.
 
 =head1 SEE ALSO
index 289cbda7571974beb21c8c3bcc0d2fd543889dd6..13482ac5e188e7b7016e7ff49d59d15790167a47 100644 (file)
@@ -187,26 +187,23 @@ simply ignored.
 Also, what happens when a needed parameter isn't passed down is
 defined by the implementation.
 
-EVP_MAC_gettable_params() returns an B<OSSL_PARAM> array that describes
+EVP_MAC_gettable_params() returns an L<OSSL_PARAM(3)> array that describes
 the retrievable and settable parameters.  EVP_MAC_gettable_params()
 returns parameters that can be used with EVP_MAC_get_params().
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
 EVP_MAC_gettable_ctx_params() and EVP_MAC_CTX_gettable_params()
-return constant B<OSSL_PARAM> arrays that describe the retrievable
+return constant L<OSSL_PARAM(3)> arrays that describe the retrievable
 parameters that can be used with EVP_MAC_CTX_get_params().
 EVP_MAC_gettable_ctx_params() returns the parameters that can be retrieved
 from the algorithm, whereas EVP_MAC_CTX_gettable_params() returns
 the parameters that can be retrieved in the context's current state.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as a parameter descriptor.
 
 EVP_MAC_settable_ctx_params() and EVP_MAC_CTX_settable_params() return
-constant B<OSSL_PARAM> arrays that describe the settable parameters that
+constant L<OSSL_PARAM(3)> arrays that describe the settable parameters that
 can be used with EVP_MAC_CTX_set_params().  EVP_MAC_settable_ctx_params()
 returns the parameters that can be retrieved from the algorithm,
 whereas EVP_MAC_CTX_settable_params() returns the parameters that can
-be retrieved in the context's current state.  See L<OSSL_PARAM(3)>
-for the use of B<OSSL_PARAM> as a parameter descriptor.
+be retrieved in the context's current state.
 
 =head2 Information functions
 
index b8855c2670fbb5781c98475dcd6c9d275452ca78..c02151654c3a6206cfcdb903ff87c673f23caa4c 100644 (file)
@@ -30,11 +30,10 @@ These methods replace the EVP_PKEY_CTX_ctrl() mechanism. (EVP_PKEY_CTX_ctrl now
 calls these methods internally to interact with providers).
 
 EVP_PKEY_CTX_gettable_params() and EVP_PKEY_CTX_settable_params() get a
-constant B<OSSL_PARAM> array that describes the gettable and
+constant L<OSSL_PARAM(3)> array that describes the gettable and
 settable parameters for the current algorithm implementation, i.e. parameters
 that can be used with EVP_PKEY_CTX_get_params() and EVP_PKEY_CTX_set_params()
 respectively.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter descriptor.
 These functions must only be called after the EVP_PKEY_CTX has been initialised
 for use in an operation.
 
index 158d1bf42d5a1c929109b14eb5d3c032cd93588a..2cdbced9cfdb6eb6eff2f516853812a69e5cffde 100644 (file)
@@ -48,10 +48,9 @@ and L<B<EVP_PKEY-ED25519>(7)|EVP_PKEY-ED25519(7)/Common X25519, X448, ED25519 an
 =for comment the awful list of links above is made this way so we get nice
 rendering as a man-page while still getting proper links in HTML
 
-EVP_PKEY_fromdata_settable() gets a constant B<OSSL_PARAM> array that describes
+EVP_PKEY_fromdata_settable() gets a constant L<OSSL_PARAM(3)> array that describes
 the settable parameters that can be used with EVP_PKEY_fromdata().
 I<selection> is described in L</Selections>.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter descriptor.
 
 Parameters in the I<params> array that are not among the settable parameters
 for the given I<selection> are ignored.
index ba87289937d9e9504c4bb22fafc232a27b122d35..8dd0fc543e5d7de5b305c44c72fe04fe69d89179 100644 (file)
@@ -29,15 +29,15 @@ EVP_PKEY_get_octet_string_param
 
 =head1 DESCRIPTION
 
+See L<OSSL_PARAM(3)> for information about parameters.
+
 EVP_PKEY_get_params() retrieves parameters from the key I<pkey>, according to
 the contents of I<params>.
-See L<OSSL_PARAM(3)> for information about parameters.
 
 EVP_PKEY_gettable_params() returns a constant list of I<params> indicating
 the names and types of key parameters that can be retrieved.
-See L<OSSL_PARAM(3)> for information about parameters.
 
-An B<OSSL_PARAM> of type B<OSSL_PARAM_INTEGER> or
+An L<OSSL_PARAM(3)> of type B<OSSL_PARAM_INTEGER> or
 B<OSSL_PARAM_UNSIGNED_INTEGER> is of arbitrary length. Such a parameter can be
 obtained using any of the functions EVP_PKEY_get_int_param(),
 EVP_PKEY_get_size_t_param() or EVP_PKEY_get_bn_param(). Attempting to
index 14db9e6efdd8e79fba3b345f812b9399026a0adc..c28a867b7a9b701982b1e8153a70ec3e54259a90 100644 (file)
@@ -16,7 +16,7 @@ EVP_PKEY_todata, EVP_PKEY_export
 =head1 DESCRIPTION
 
 The functions described here are used to extract B<EVP_PKEY> key values as an
-array of B<OSSL_PARAM>.
+array of L<OSSL_PARAM(3)>.
 
 EVP_PKEY_todata() extracts values from a key I<pkey> using the I<selection>.
 I<selection> is described in L<EVP_PKEY_fromdata(3)/Selections>.
@@ -26,7 +26,7 @@ I<*params>.
 EVP_PKEY_export() is similar to EVP_PKEY_todata() but uses a callback
 I<export_cb> that gets passed the value of I<export_cbarg>.
 See L<openssl-core.h(7)> for more information about the callback. Note that the
-B<OSSL_PARAM> array that is passed to the callback is not persistent after the
+L<OSSL_PARAM(3)> array that is passed to the callback is not persistent after the
 callback returns. The user must preserve the items of interest, or use
 EVP_PKEY_todata() if persistence is required.
 
index 6aae33b5fd949c09cb378a558e2aead37fef205c..a187ed66252b3b3cb27fc712618b64a18fb787f4 100644 (file)
@@ -187,26 +187,23 @@ simply ignored.
 Also, what happens when a needed parameter isn't passed down is
 defined by the implementation.
 
-EVP_RAND_gettable_params() returns an B<OSSL_PARAM> array that describes
+EVP_RAND_gettable_params() returns an L<OSSL_PARAM(3)> array that describes
 the retrievable and settable parameters.  EVP_RAND_gettable_params() returns
-parameters that can be used with EVP_RAND_get_params().  See L<OSSL_PARAM(3)>
-for the use of B<OSSL_PARAM> as a parameter descriptor.
+parameters that can be used with EVP_RAND_get_params().
 
 EVP_RAND_gettable_ctx_params() and EVP_RAND_CTX_gettable_params() return
-constant B<OSSL_PARAM> arrays that describe the retrievable parameters that
+constant L<OSSL_PARAM(3)> arrays that describe the retrievable parameters that
 can be used with EVP_RAND_CTX_get_params().  EVP_RAND_gettable_ctx_params()
 returns the parameters that can be retrieved from the algorithm, whereas
 EVP_RAND_CTX_gettable_params() returns the parameters that can be retrieved
-in the context's current state.  See L<OSSL_PARAM(3)> for the use of
-B<OSSL_PARAM> as a parameter descriptor.
+in the context's current state.
 
 EVP_RAND_settable_ctx_params() and EVP_RAND_CTX_settable_params() return
-constant B<OSSL_PARAM> arrays that describe the settable parameters that
+constant L<OSSL_PARAM(3)> arrays that describe the settable parameters that
 can be used with EVP_RAND_CTX_set_params().  EVP_RAND_settable_ctx_params()
 returns the parameters that can be retrieved from the algorithm, whereas
 EVP_RAND_CTX_settable_params() returns the parameters that can be retrieved
-in the context's current state.  See L<OSSL_PARAM(3)> for the use of
-B<OSSL_PARAM> as a parameter descriptor.
+in the context's current state.
 
 =head2 Information functions
 
index 9fb389e7aeb0ec6749c25368c7baf610ca6ea2cb..600522085398c271ecf946cb3c36428488fb52f3 100644 (file)
@@ -79,7 +79,7 @@ meant for display and human consumption.  The description is at the
 discretion of the I<signature> implementation.
 
 EVP_SIGNATURE_gettable_ctx_params() and EVP_SIGNATURE_settable_ctx_params()
-return a constant B<OSSL_PARAM> array that describes the names and types of key
+return a constant L<OSSL_PARAM(3)> array that describes the names and types of key
 parameters that can be retrieved or set by a signature algorithm using
 L<EVP_PKEY_CTX_get_params(3)> and L<EVP_PKEY_CTX_set_params(3)>.
 
@@ -94,7 +94,7 @@ EVP_SIGNATURE_names_do_all() returns 1 if the callback was called for all names.
 A return value of 0 means that the callback was not called for any names.
 
 EVP_SIGNATURE_gettable_ctx_params() and EVP_SIGNATURE_settable_ctx_params()
-return a constant B<OSSL_PARAM> array or NULL on error.
+return a constant L<OSSL_PARAM(3)> array or NULL on error.
 
 =head1 SEE ALSO
 
index 2aef06cfd19d24d7f4bc156c16c95633e27900d8..5fa8a8f089161f70c07a2c3b5bf7a1d65baff76e 100644 (file)
@@ -31,7 +31,7 @@ simply be passed back to the callback function when it's called.
 =item B<OSSL_CALLBACK>
 
 This is a generic callback function.  When calling this callback function,
-the caller is expected to build an B<OSSL_PARAM> array of data it wants or
+the caller is expected to build an L<OSSL_PARAM(3)> array of data it wants or
 is expected to pass back, and pass that as I<params>, as well as the opaque
 data pointer it received, as I<arg>.
 
@@ -43,7 +43,7 @@ store the pass phrase needs to be given with I<pass>, and its size with
 I<pass_size>.  The length of the prompted pass phrase will be given back in
 I<*pass_len>.
 
-Additional parameters can be passed with the B<OSSL_PARAM> array I<params>,
+Additional parameters can be passed with the L<OSSL_PARAM(3)> array I<params>,
 
 =back
 
index 26c0f0ae2e21b275261f57a4e972a179f8e3a3eb..4b4443777ad70c78f045765dd2042ecbe5db914d 100644 (file)
@@ -79,9 +79,9 @@ OSSL_DECODER_CTX_set_pem_password_cb(), OSSL_DECODER_CTX_set_passphrase_ui()
 and OSSL_DECODER_CTX_set_passphrase_cb() set up a callback method that the
 implementation can use to prompt for a pass phrase, giving the caller the
 choice of preferred pass phrase callback form.  These are called indirectly,
-through an internal B<OSSL_PASSPHRASE_CALLBACK> function.
+through an internal L<OSSL_PASSPHRASE_CALLBACK(3)> function.
 
-The internal B<OSSL_PASSPHRASE_CALLBACK> function caches the pass phrase, to
+The internal L<OSSL_PASSPHRASE_CALLBACK(3)> function caches the pass phrase, to
 be re-used in all decodings that are performed in the same decoding run (for
 example, within one L<OSSL_DECODER_from_bio(3)> call).
 
index 8f7d1910ca9ffeff224551025ce48a01a5c4b5bb..3bf9c10e374e551719c3295ac299b1398f1e6ef5 100644 (file)
@@ -79,7 +79,7 @@ OSSL_ENCODER_CTX_set_pem_password_cb(), OSSL_ENCODER_CTX_set_passphrase_ui()
 and OSSL_ENCODER_CTX_set_passphrase_cb() sets up a callback method that the
 implementation can use to prompt for a pass phrase, giving the caller the
 choice of preferred pass phrase callback form.  These are called indirectly,
-through an internal B<OSSL_PASSPHRASE_CALLBACK> function.
+through an internal L<OSSL_PASSPHRASE_CALLBACK(3)> function.
 
 =head2 Output types
 
index 80ba555a8feac6fd434a98a2c9f6657470097057..e6dc2549fdb1bb8704cb8b448dc410603ab91c50 100644 (file)
@@ -102,7 +102,7 @@ I<paramdefs> and there was no other failure, otherwise 0.
 
 The parameter descriptor array comes from functions dedicated to
 return them.
-The following B<OSSL_PARAM> attributes are used:
+The following L<OSSL_PARAM(3)> attributes are used:
 
 =over 4
 
index 5130c9e1dcd9c623ee47954a1df3216808f3fd42..4ae33faf1e4e8f6e963a1972a572be050e4bcab0 100644 (file)
@@ -16,8 +16,8 @@ OSSL_PARAM_dup, OSSL_PARAM_merge, OSSL_PARAM_free
 =head1 DESCRIPTION
 
 Algorithm parameters can be exported/imported from/to providers using arrays of
-B<OSSL_PARAM>. The following utility functions allow the parameters to be
-duplicated and merged with other B<OSSL_PARAM> to assist in this process.
+L<OSSL_PARAM(3)>. The following utility functions allow the parameters to be
+duplicated and merged with other L<OSSL_PARAM(3)> to assist in this process.
 
 OSSL_PARAM_dup() duplicates the parameter array I<params>. This function does a
 deep copy of the data.
@@ -36,7 +36,7 @@ OSSL_PARAM_dup(), OSSL_PARAM_merge() or OSSL_PARAM_BLD_to_param().
 =head1 RETURN VALUES
 
 The functions OSSL_PARAM_dup() and OSSL_PARAM_merge() return a newly allocated
-B<OSSL_PARAM> array, or NULL if there was an error. If both parameters are NULL
+L<OSSL_PARAM(3)> array, or NULL if there was an error. If both parameters are NULL
  then NULL is returned.
 
 =head1 SEE ALSO
index efa94c5d54df258974000e2cbfc22e82a3f796ae..ffe7c8c76a1852ffde49f37e5e9ad064edbb8378 100644 (file)
@@ -110,7 +110,7 @@ OSSL_PARAM_UNMODIFIED, OSSL_PARAM_modified, OSSL_PARAM_set_all_unmodified
 =head1 DESCRIPTION
 
 A collection of utility functions that simplify and add type safety to the
-B<OSSL_PARAM> arrays.  The following B<I<TYPE>> names are supported:
+L<OSSL_PARAM(3)> arrays.  The following B<I<TYPE>> names are supported:
 
 =over 1
 
@@ -161,7 +161,7 @@ unsigned long int (ulong)
 =back
 
 OSSL_PARAM_TYPE() are a series of macros designed to assist initialising an
-array of B<OSSL_PARAM> structures.
+array of L<OSSL_PARAM(3)> structures.
 Each of these macros defines a parameter of the specified B<I<TYPE>> with the
 provided I<key> and parameter variable I<address>.
 
@@ -172,46 +172,46 @@ A parameter with name I<key> is defined.
 The storage for this parameter is at I<address> and is of I<size> bytes.
 
 OSSL_PARAM_END provides an end of parameter list marker.
-This should terminate all B<OSSL_PARAM> arrays.
+This should terminate all L<OSSL_PARAM(3)> arrays.
 
 The OSSL_PARAM_DEFN() macro provides the ability to construct a single
-B<OSSL_PARAM> (typically used in the construction of B<OSSL_PARAM> arrays). The
+L<OSSL_PARAM(3)> (typically used in the construction of B<OSSL_PARAM> arrays). The
 I<key>, I<type>, I<addr> and I<sz> arguments correspond to the I<key>,
-I<data_type>, I<data> and I<data_size> fields of the B<OSSL_PARAM> structure as
+I<data_type>, I<data> and I<data_size> fields of the L<OSSL_PARAM(3)> structure as
 described on the L<OSSL_PARAM(3)> page.
 
-OSSL_PARAM_construct_TYPE() are a series of functions that create B<OSSL_PARAM>
+OSSL_PARAM_construct_TYPE() are a series of functions that create L<OSSL_PARAM(3)>
 records dynamically.
 A parameter with name I<key> is created.
 The parameter will use storage pointed to by I<buf> and return size of I<ret>.
 
 OSSL_PARAM_construct_BN() is a function that constructs a large integer
-B<OSSL_PARAM> structure.
+L<OSSL_PARAM(3)> structure.
 A parameter with name I<key>, storage I<buf>, size I<bsize> and return
 size I<rsize> is created.
 
 OSSL_PARAM_construct_utf8_string() is a function that constructs a UTF8
-string B<OSSL_PARAM> structure.
+string L<OSSL_PARAM(3)> structure.
 A parameter with name I<key>, storage I<buf> and size I<bsize> is created.
 If I<bsize> is zero, the string length is determined using strlen(3).
 Generally pass zero for I<bsize> instead of calling strlen(3) yourself.
 
 OSSL_PARAM_construct_octet_string() is a function that constructs an OCTET
-string B<OSSL_PARAM> structure.
+string L<OSSL_PARAM(3)> structure.
 A parameter with name I<key>, storage I<buf> and size I<bsize> is created.
 
 OSSL_PARAM_construct_utf8_ptr() is a function that constructs a UTF8 string
-pointer B<OSSL_PARAM> structure.
+pointer L<OSSL_PARAM(3)> structure.
 A parameter with name I<key>, storage pointer I<*buf> and size I<bsize>
 is created.
 
 OSSL_PARAM_construct_octet_ptr() is a function that constructs an OCTET string
-pointer B<OSSL_PARAM> structure.
+pointer L<OSSL_PARAM(3)> structure.
 A parameter with name I<key>, storage pointer I<*buf> and size I<bsize>
 is created.
 
 OSSL_PARAM_construct_end() is a function that constructs the terminating
-B<OSSL_PARAM> structure.
+L<OSSL_PARAM(3)> structure.
 
 OSSL_PARAM_locate() is a function that searches an I<array> of parameters for
 the one matching the I<key> name.
@@ -314,10 +314,10 @@ in the array I<params>.
 OSSL_PARAM_construct_TYPE(), OSSL_PARAM_construct_BN(),
 OSSL_PARAM_construct_utf8_string(), OSSL_PARAM_construct_octet_string(),
 OSSL_PARAM_construct_utf8_ptr() and OSSL_PARAM_construct_octet_ptr()
-return a populated B<OSSL_PARAM> structure.
+return a populated L<OSSL_PARAM(3)> structure.
 
 OSSL_PARAM_locate() and OSSL_PARAM_locate_const() return a pointer to
-the matching B<OSSL_PARAM> object.  They return NULL on error or when
+the matching L<OSSL_PARAM(3)> object.  They return NULL on error or when
 no object matching I<key> exists in the I<array>.
 
 OSSL_PARAM_modified() returns 1 if the parameter was set and 0 otherwise.
@@ -333,11 +333,11 @@ expected type of the parameter.
 
 OSSL_PARAM_get_BN() and OSSL_PARAM_set_BN() only support nonnegative
 B<BIGNUM>s when the desired data type is B<OSSL_PARAM_UNSIGNED_INTEGER>.
-OSSL_PARAM_construct_BN() currently constructs an B<OSSL_PARAM> structure
+OSSL_PARAM_construct_BN() currently constructs an L<OSSL_PARAM(3)> structure
 with the data type B<OSSL_PARAM_UNSIGNED_INTEGER>.
 
 For OSSL_PARAM_construct_utf8_ptr() and OSSL_PARAM_consstruct_octet_ptr(),
-I<bsize> is not relevant if the purpose is to send the B<OSSL_PARAM> array
+I<bsize> is not relevant if the purpose is to send the L<OSSL_PARAM(3)> array
 to a I<responder>, i.e. to get parameter data back.
 In that case, I<bsize> can safely be given zero.
 See L<OSSL_PARAM(3)/DESCRIPTION> for further information on the
@@ -346,7 +346,7 @@ possible purposes.
 =head1 EXAMPLES
 
 Reusing the examples from L<OSSL_PARAM(3)> to just show how
-B<OSSL_PARAM> arrays can be handled using the macros and functions
+L<OSSL_PARAM(3)> arrays can be handled using the macros and functions
 defined herein.
 
 =head2 Example 1
index cefb4a74c0733415247b29f3a645ab7712c4331f..bae0bc928e36cb96c2fc47a740cbb7abea982dd0 100644 (file)
@@ -117,11 +117,10 @@ See L<OSSL_PROVIDER-default(7)> for more information on this fallback
 behaviour.
 
 OSSL_PROVIDER_gettable_params() is used to get a provider parameter
-descriptor set as a constant B<OSSL_PARAM> array.
-See L<OSSL_PARAM(3)> for more information.
+descriptor set as a constant L<OSSL_PARAM(3)> array.
 
 OSSL_PROVIDER_get_params() is used to get provider parameter values.
-The caller must prepare the B<OSSL_PARAM> array before calling this
+The caller must prepare the L<OSSL_PARAM(3)> array before calling this
 function, and the variables acting as buffers for this parameter array
 should be filled with data when it returns successfully.
 
@@ -157,7 +156,7 @@ OSSL_PROVIDER_get0_name() returns the name of the given provider.
 OSSL_PROVIDER_get_capabilities() provides information about the capabilities
 supported by the provider specified in I<prov> with the capability name
 I<capability>. For each capability of that name supported by the provider it
-will call the callback I<cb> and supply a set of B<OSSL_PARAM>s describing the
+will call the callback I<cb> and supply a set of L<OSSL_PARAM(3)>s describing the
 capability. It will also pass back the argument I<arg>. For more details about
 capabilities and what they can be used for please see
 L<provider-base(7)/CAPABILTIIES>.
@@ -183,7 +182,7 @@ OSSL_PROVIDER_available() returns 1 if the named provider is available,
 otherwise 0.
 
 OSSL_PROVIDER_gettable_params() returns a pointer to an array
-of constant B<OSSL_PARAM>, or NULL if none is provided.
+of constant L<OSSL_PARAM(3)>, or NULL if none is provided.
 
 OSSL_PROVIDER_get_params() and returns 1 on success, or 0 on error.
 
index 744c82e204fea08427ce5982871ed40032121a4c..5fe838351908b543941e9b9e1ee3a3780ad69d10 100644 (file)
@@ -36,7 +36,7 @@ OSSL_SELF_TEST_free() frees the space allocated by OSSL_SELF_TEST_new().
 OSSL_SELF_TEST_onbegin() may be inserted at the start of a block of self test
 code. It can be used for diagnostic purposes.
 If this method is called the callback I<cb> will receive the following
-B<OSSL_PARAM> object.
+L<OSSL_PARAM(3)> object.
 
 =over 4
 
@@ -53,7 +53,7 @@ otherwise it leaves the array unaltered. It can be used for failure testing.
 The I<type> and I<desc> can be used to identify an individual self test to
 target for failure testing.
 If this method is called the callback I<cb> will receive the following
-B<OSSL_PARAM> object.
+L<OSSL_PARAM(3)> object.
 
 =over 4
 
@@ -67,7 +67,7 @@ OSSL_SELF_TEST_onend() may be inserted at the end of a block of self test code
 just before cleanup to indicate if the test passed or failed. It can be used for
 diagnostic purposes.
 If this method is called the callback I<cb> will receive the following
-B<OSSL_PARAM> object.
+L<OSSL_PARAM(3)> object.
 
 =over 4
 
@@ -82,7 +82,7 @@ After the callback I<cb> has been called the values that were set by
 OSSL_SELF_TEST_onbegin() for I<type> and I<desc> are set to the value "None".
 
 If OSSL_SELF_TEST_onbegin(), OSSL_SELF_TEST_oncorrupt_byte() or
-OSSL_SELF_TEST_onend() is called the following additional B<OSSL_PARAM> are
+OSSL_SELF_TEST_onend() is called the following additional L<OSSL_PARAM(3)> are
 passed to the callback.
 
 =over 4
index ed4f261fdc488546706a0d0fd7dca607352b1f92..9866de018494182c92e5b0737b55c0254dae9c17 100644 (file)
@@ -16,7 +16,7 @@ OSSL_SELF_TEST_get_callback - specify a callback for processing self tests
 
 Set or gets the optional application callback (and the callback argument) that
 is called during self testing.
-The application callback B<OSSL_CALLBACK> is associated with a B<OSSL_LIB_CTX>.
+The application callback L<OSSL_CALLBACK(3)> is associated with a B<OSSL_LIB_CTX>.
 The application callback function receives information about a running self test,
 and may return a result to the calling self test.
 See L<openssl-core.h(7)> for further information on the callback.
index a3fe7e13eed124827120e4421a20c8a91cb127aa..fe51912e84c05396c640caf8d2dd4e0f42b4dfcf 100644 (file)
@@ -69,7 +69,7 @@ B<OSSL_STORE_CTX> with all necessary internal information.
 The given I<ui_method> and I<ui_data> will be reused by all
 functions that use B<OSSL_STORE_CTX> when interaction is needed,
 for instance to provide a password.
-The auxiliary B<OSSL_PARAM> parameters in I<params> can be set to further
+The auxiliary L<OSSL_PARAM(3)> parameters in I<params> can be set to further
 modify the store operation.
 The given I<post_process> and I<post_process_data> will be reused by
 OSSL_STORE_load() to manipulate or drop the value to be returned.
index e114fb226e8e5a43de4234329538048880e7a69c..bcbb1700078694eb1613d68292f929f0fe3d2563 100644 (file)
@@ -367,7 +367,7 @@ Most of these follow a common pattern. A "context" object is first created. For
 example for a digest operation you would use an B<EVP_MD_CTX>, and for an
 encryption/decryption operation you would use an B<EVP_CIPHER_CTX>. The
 operation is then initialised ready for use via an "init" function - optionally
-passing in a set of parameters (using the B<OSSL_PARAM> type) to configure how
+passing in a set of parameters (using the L<OSSL_PARAM(3)> type) to configure how
 the operation should behave. Next data is fed into the operation in a series of
 "update" calls. The operation is finalised using a "final" call which will
 typically provide some kind of output. Finally the context is cleaned up and
index 64901b638824033009720737327daf203e7fb365..d8c9b98107ba4e098dacd37017d0cf6311e1948b 100644 (file)
@@ -957,7 +957,7 @@ See also L<crypto(7)/OPENSSL PROVIDERS>.
 Implicit and Explicit Fetching is described in detail here
 L<crypto(7)/ALGORITHM FETCHING>.
 
-=head3 Mapping EVP controls and flags to provider B<OSSL_PARAM> parameters
+=head3 Mapping EVP controls and flags to provider L<OSSL_PARAM(3)> parameters
 
 The existing functions for controls (such as L<EVP_CIPHER_CTX_ctrl(3)>) and
 manipulating flags (such as L<EVP_MD_CTX_set_flags(3)>)internally use
@@ -1459,7 +1459,7 @@ See L</Deprecated low-level key exchange functions>.
 ECDH_KDF_X9_62()
 
 Applications may either set this using the helper function
-L<EVP_PKEY_CTX_set_ecdh_kdf_type(3)> or by setting an B<OSSL_PARAM> using the
+L<EVP_PKEY_CTX_set_ecdh_kdf_type(3)> or by setting an L<OSSL_PARAM(3)> using the
 "kdf-type" as shown in L<EVP_KEYEXCH-ECDH(7)/EXAMPLES>
 
 =item *
index e14a1d90199b8ad592047daf57e7a625ab9ac21b..ac3f6271969deeff403e386e29878f18ef73a951 100644 (file)
@@ -54,14 +54,14 @@ L<EVP_PKEY_decrypt(3)> and
 other related functions).
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_asym_cipher_newctx() has these:
 
@@ -69,7 +69,7 @@ For example, the "function" OSSL_FUNC_asym_cipher_newctx() has these:
  static ossl_inline OSSL_FUNC_asym_cipher_newctx_fn
      OSSL_FUNC_asym_cipher_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_asym_cipher_newctx               OSSL_FUNC_ASYM_CIPHER_NEWCTX
@@ -238,10 +238,9 @@ The negotiated TLS protocol version.
 =back
 
 OSSL_FUNC_asym_cipher_gettable_ctx_params() and OSSL_FUNC_asym_cipher_settable_ctx_params()
-get a constant B<OSSL_PARAM> array that describes the gettable and settable
+get a constant L<OSSL_PARAM(3)> array that describes the gettable and settable
 parameters, i.e. parameters that can be used with OSSL_FUNC_asym_cipherget_ctx_params()
 and OSSL_FUNC_asym_cipher_set_ctx_params() respectively.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter descriptor.
 
 =head1 RETURN VALUES
 
index af8baf6dc96babd7a42523009919726c27704bfc..30b460cb291589e0fadf72ba0cbdb3caf57e3a1e 100644 (file)
@@ -116,13 +116,13 @@ provider-base
 =head1 DESCRIPTION
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays, in the call
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays, in the call
 of the provider initialization function.  See L<provider(7)/Provider>
 for a description of the initialization function. They are known as "upcalls".
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from a B<OSSL_DISPATCH> element named
+function pointer from a L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" core_gettable_params() has these:
 
@@ -131,10 +131,10 @@ For example, the "function" core_gettable_params() has these:
  static ossl_inline OSSL_NAME_core_gettable_params_fn
      OSSL_FUNC_core_gettable_params(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
-For I<in> (the B<OSSL_DISPATCH> array passed from F<libcrypto> to the
+For I<in> (the L<OSSL_DISPATCH(3)> array passed from F<libcrypto> to the
 provider):
 
  core_gettable_params           OSSL_FUNC_CORE_GETTABLE_PARAMS
@@ -182,7 +182,7 @@ provider):
  provider_up_ref                OSSL_FUNC_PROVIDER_UP_REF
  provider_free                  OSSL_FUNC_PROVIDER_FREE
 
-For I<*out> (the B<OSSL_DISPATCH> array passed from the provider to
+For I<*out> (the L<OSSL_DISPATCH(3)> array passed from the provider to
 F<libcrypto>):
 
  provider_teardown              OSSL_FUNC_PROVIDER_TEARDOWN
@@ -197,7 +197,7 @@ F<libcrypto>):
 =head2 Core functions
 
 core_gettable_params() returns a constant array of descriptor
-B<OSSL_PARAM>, for parameters that core_get_params() can handle.
+L<OSSL_PARAM(3)>, for parameters that core_get_params() can handle.
 
 core_get_params() retrieves parameters from the core for the given I<handle>.
 See L</Core parameters> below for a description of currently known
@@ -288,7 +288,7 @@ BIO_new_file(), BIO_new_mem_buf(), BIO_read_ex(), BIO_write_ex(), BIO_up_ref(),
 BIO_free(), BIO_vprintf(), BIO_vsnprintf(), BIO_gets(), BIO_puts(),
 BIO_ctrl(), OPENSSL_cleanse() and
 OPENSSL_hexstr2buf() correspond exactly to the public functions with
-the same name.  As a matter of fact, the pointers in the B<OSSL_DISPATCH>
+the same name.  As a matter of fact, the pointers in the L<OSSL_DISPATCH(3)>
 array are typically direct pointers to those public functions. Note that the BIO
 functions take an B<OSSL_CORE_BIO> type rather than the standard B<BIO>
 type. This is to ensure that a provider does not mix BIOs from the core
@@ -370,13 +370,13 @@ from the core's provider store.
 It must free the passed I<provctx>.
 
 provider_gettable_params() should return a constant array of
-descriptor B<OSSL_PARAM>, for parameters that provider_get_params()
+descriptor L<OSSL_PARAM(3)>, for parameters that provider_get_params()
 can handle.
 
-provider_get_params() should process the B<OSSL_PARAM> array
+provider_get_params() should process the L<OSSL_PARAM(3)> array
 I<params>, setting the values of the parameters it understands.
 
-provider_query_operation() should return a constant B<OSSL_ALGORITHM>
+provider_query_operation() should return a constant L<OSSL_ALGORITHM(3)>
 that corresponds to the given I<operation_id>.
 It should indicate if the core may store a reference to this array by
 setting I<*no_store> to 0 (core may store a reference) or 1 (core may
@@ -387,13 +387,13 @@ provider_query_operation() is no longer directly required and that the function
 pointers have been copied.  The I<operation_id> should match that passed to
 provider_query_operation() and I<algs> should be its return value.
 
-provider_get_reason_strings() should return a constant B<OSSL_ITEM>
+provider_get_reason_strings() should return a constant L<OSSL_ITEM(3)>
 array that provides reason strings for reason codes the provider may
 use when reporting errors using core_put_error().
 
 The provider_get_capabilities() function should call the callback I<cb> passing
-it a set of B<OSSL_PARAM>s and the caller supplied argument I<arg>. The
-B<OSSL_PARAM>s should provide details about the capability with the name given
+it a set of L<OSSL_PARAM(3)>s and the caller supplied argument I<arg>. The
+L<OSSL_PARAM(3)>s should provide details about the capability with the name given
 in the I<capability> argument relevant for the provider context I<provctx>. If a
 provider supports multiple capabilities with the given name then it may call the
 callback multiple times (one for each capability). Capabilities can be useful for
index b5bbb1b91d0839d1d9552f4987dc6d91f0af9b13..429a4173d68eaedc14cff3adb4c5624935914585 100644 (file)
@@ -63,14 +63,14 @@ L<EVP_EncryptUpdate(3)> and L<EVP_EncryptFinal(3)> (as well as the decrypt
 equivalents and other related functions).
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_cipher_newctx() has these:
 
@@ -78,7 +78,7 @@ For example, the "function" OSSL_FUNC_cipher_newctx() has these:
  static ossl_inline OSSL_FUNC_cipher_newctx_fn
      OSSL_FUNC_cipher_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_cipher_newctx               OSSL_FUNC_CIPHER_NEWCTX
@@ -193,7 +193,7 @@ the given provider side cipher context I<cctx> and stores them in I<params>.
 Passing NULL for I<params> should return true.
 
 OSSL_FUNC_cipher_gettable_params(), OSSL_FUNC_cipher_gettable_ctx_params(),
-and OSSL_FUNC_cipher_settable_ctx_params() all return constant B<OSSL_PARAM>
+and OSSL_FUNC_cipher_settable_ctx_params() all return constant L<OSSL_PARAM(3)>
 arrays as descriptors of the parameters that OSSL_FUNC_cipher_get_params(),
 OSSL_FUNC_cipher_get_ctx_params(), and OSSL_FUNC_cipher_set_ctx_params()
 can handle, respectively.  OSSL_FUNC_cipher_gettable_ctx_params() and
@@ -217,7 +217,7 @@ OSSL_FUNC_cipher_get_ctx_params() and OSSL_FUNC_cipher_set_ctx_params() should r
 success or 0 on error.
 
 OSSL_FUNC_cipher_gettable_params(), OSSL_FUNC_cipher_gettable_ctx_params() and
-OSSL_FUNC_cipher_settable_ctx_params() should return a constant B<OSSL_PARAM>
+OSSL_FUNC_cipher_settable_ctx_params() should return a constant L<OSSL_PARAM(3)>
 array, or NULL if none is offered.
 
 =head1 SEE ALSO
index 2ac56cf1d125c0d8533d548cfed0338c565d8ab6..f279955a6088cc8697ad97ce4d8fb3e74ab9221f 100644 (file)
@@ -50,7 +50,7 @@ object reference or intermediate decoded data from an encoded form
 read from the given B<OSSL_CORE_BIO>. If the caller wants to decode
 data from memory, it should provide a L<BIO_s_mem(3)> B<BIO>. The decoded
 data or object reference is passed along with eventual metadata
-to the I<metadata_cb> as B<OSSL_PARAM> parameters.
+to the I<metadata_cb> as L<OSSL_PARAM(3)> parameters.
 
 The decoder doesn't need to know more about the B<OSSL_CORE_BIO>
 pointer than being able to pass it to the appropriate BIO upcalls (see
@@ -67,14 +67,14 @@ that object into a different provider the OSSL_FUNC_decoder_export_object()
 can be called as the final step of the decoding process.
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_decoder_decode() has these:
 
@@ -86,7 +86,7 @@ For example, the "function" OSSL_FUNC_decoder_decode() has these:
  static ossl_inline OSSL_FUNC_decoder_decode_fn
      OSSL_FUNC_decoder_decode(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_decoder_get_params          OSSL_FUNC_DECODER_GET_PARAMS
@@ -202,7 +202,7 @@ from I<params> that it recognises.  Unrecognised parameters should be
 ignored.
 Passing NULL for I<params> should return true.
 
-OSSL_FUNC_decoder_settable_ctx_params() returns a constant B<OSSL_PARAM>
+OSSL_FUNC_decoder_settable_ctx_params() returns a constant L<OSSL_PARAM(3)>
 array describing the parameters that OSSL_FUNC_decoder_set_ctx_params()
 can handle.
 
@@ -217,18 +217,18 @@ exporting the object into that foreign provider if the foreign provider
 supports the type of the object and provides an import function.
 
 OSSL_FUNC_decoder_export_object() should export the object of size I<objref_sz>
-referenced by I<objref> as an B<OSSL_PARAM> array and pass that into the
+referenced by I<objref> as an L<OSSL_PARAM(3)> array and pass that into the
 I<export_cb> as well as the given I<export_cbarg>.
 
 =head2 Decoding functions
 
 OSSL_FUNC_decoder_decode() should decode the data as read from
 the B<OSSL_CORE_BIO> I<in> to produce decoded data or an object to be
-passed as reference in an B<OSSL_PARAM> array along with possible other
-metadata that was decoded from the input. This B<OSSL_PARAM> array is
+passed as reference in an L<OSSL_PARAM(3)> array along with possible other
+metadata that was decoded from the input. This L<OSSL_PARAM(3)> array is
 then passed to the I<data_cb> callback.  The I<selection> bits,
 if relevant, should determine what the input data should contain.
-The decoding functions also take an B<OSSL_PASSPHRASE_CALLBACK> function
+The decoding functions also take an L<OSSL_PASSPHRASE_CALLBACK(3)> function
 pointer along with a pointer to application data I<cbarg>, which should be
 used when a pass phrase prompt is needed.
 
@@ -284,7 +284,7 @@ OSSL_FUNC_decoder_set_ctx_params() returns 1, unless a recognised
 parameter was invalid or caused an error, for which 0 is returned.
 
 OSSL_FUNC_decoder_settable_ctx_params() returns a pointer to an array of
-constant B<OSSL_PARAM> elements.
+constant L<OSSL_PARAM(3)> elements.
 
 OSSL_FUNC_decoder_does_selection() returns 1 if the decoder implementation
 supports any of the I<selection> bits, otherwise 0.
index 4c90561e31645529dcec9cbf9212503c52ce7b42..a3d79a48b3b103885dc84b4e548cefc86ea03f22 100644 (file)
@@ -55,14 +55,14 @@ them available to applications via the API functions L<EVP_DigestInit_ex(3)>,
 L<EVP_DigestUpdate(3)> and L<EVP_DigestFinal(3)> (and other related functions).
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_digest_newctx() has these:
 
@@ -70,7 +70,7 @@ For example, the "function" OSSL_FUNC_digest_newctx() has these:
  static ossl_inline OSSL_FUNC_digest_newctx_fn
      OSSL_FUNC_digest_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_digest_newctx               OSSL_FUNC_DIGEST_NEWCTX
@@ -158,13 +158,13 @@ OSSL_FUNC_digest_get_ctx_params() gets digest operation details details from
 the given provider side digest context I<dctx> and stores them in I<params>.
 Passing NULL for I<params> should return true.
 
-OSSL_FUNC_digest_gettable_params() returns a constant B<OSSL_PARAM> array
+OSSL_FUNC_digest_gettable_params() returns a constant L<OSSL_PARAM(3)> array
 containing descriptors of the parameters that OSSL_FUNC_digest_get_params()
 can handle.
 
 OSSL_FUNC_digest_gettable_ctx_params() and
 OSSL_FUNC_digest_settable_ctx_params() both return constant
-B<OSSL_PARAM> arrays as descriptors of the parameters that
+L<OSSL_PARAM(3)> arrays as descriptors of the parameters that
 OSSL_FUNC_digest_get_ctx_params() and OSSL_FUNC_digest_set_ctx_params()
 can handle, respectively.  The array is based on the current state of
 the provider side context if I<dctx> is not NULL and on the provider
index 274f1456ec9e2846a18ece4d5180f77dbc357f7e..f3e9ce5b1632765702107485b7fb7e176ede1699 100644 (file)
@@ -83,14 +83,14 @@ with provider data coming from the same provider, for example keys
 with the L<KEYMGMT|provider-keymgmt(7)> provider.
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_encoder_encode() has these:
 
@@ -103,7 +103,7 @@ For example, the "function" OSSL_FUNC_encoder_encode() has these:
  static ossl_inline OSSL_FUNC_encoder_encode_fn
      OSSL_FUNC_encoder_encode(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_encoder_get_params          OSSL_FUNC_ENCODER_GET_PARAMS
@@ -213,7 +213,7 @@ from I<params> that it recognises.  Unrecognised parameters should be
 ignored.
 Passing NULL for I<params> should return true.
 
-OSSL_FUNC_encoder_settable_ctx_params() returns a constant B<OSSL_PARAM>
+OSSL_FUNC_encoder_settable_ctx_params() returns a constant L<OSSL_PARAM(3)>
 array describing the parameters that OSSL_FUNC_encoder_set_ctx_params()
 can handle.
 
@@ -242,7 +242,7 @@ OSSL_FUNC_encoder_encode() should take a provider-native object (in
 I<obj_raw>) or an object abstraction (in I<obj_abstract>), and should output
 the object in encoded form to the B<OSSL_CORE_BIO>.  The I<selection> bits,
 if relevant, should determine in greater detail what will be output.
-The encoding functions also take an B<OSSL_PASSPHRASE_CALLBACK> function
+The encoding functions also take an L<OSSL_PASSPHRASE_CALLBACK(3)> function
 pointer along with a pointer to application data I<cbarg>, which should be
 used when a pass phrase prompt is needed.
 
@@ -304,7 +304,7 @@ OSSL_FUNC_encoder_set_ctx_params() returns 1, unless a recognised
 parameter was invalid or caused an error, for which 0 is returned.
 
 OSSL_FUNC_encoder_settable_ctx_params() returns a pointer to an array of
-constant B<OSSL_PARAM> elements.
+constant L<OSSL_PARAM(3)> elements.
 
 OSSL_FUNC_encoder_does_selection() returns 1 if the encoder implementation
 supports any of the I<selection> bits, otherwise 0.
index 58337bf3db1fe7599c34067af89d49268c73caec..4221f9a0f401c98282a9db1ce18484569d3e2269 100644 (file)
@@ -47,14 +47,14 @@ them available to applications via the API functions L<EVP_KDF_CTX_reset(3)>,
 and L<EVP_KDF_derive(3)>.
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_kdf_newctx() has these:
 
@@ -62,7 +62,7 @@ For example, the "function" OSSL_FUNC_kdf_newctx() has these:
  static ossl_inline OSSL_FUNC_kdf_newctx_fn
      OSSL_FUNC_kdf_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> array entries are identified by numbers that are provided as
+L<OSSL_DISPATCH(3)> array entries are identified by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_kdf_newctx               OSSL_FUNC_KDF_NEWCTX
@@ -134,7 +134,7 @@ with the given provider side KDF context I<kctx> and stores them in I<params>.
 Passing NULL for I<params> should return true.
 
 OSSL_FUNC_kdf_gettable_params(), OSSL_FUNC_kdf_gettable_ctx_params(),
-and OSSL_FUNC_kdf_settable_ctx_params() all return constant B<OSSL_PARAM>
+and OSSL_FUNC_kdf_settable_ctx_params() all return constant L<OSSL_PARAM(3)>
 arrays as descriptors of the parameters that OSSL_FUNC_kdf_get_params(),
 OSSL_FUNC_kdf_get_ctx_params(), and OSSL_FUNC_kdf_set_ctx_params()
 can handle, respectively.  OSSL_FUNC_kdf_gettable_ctx_params() and
@@ -330,7 +330,7 @@ OSSL_FUNC_kdf_get_ctx_params() and OSSL_FUNC_kdf_set_ctx_params() should return
 success or 0 on error.
 
 OSSL_FUNC_kdf_gettable_params(), OSSL_FUNC_kdf_gettable_ctx_params() and
-OSSL_FUNC_kdf_settable_ctx_params() should return a constant B<OSSL_PARAM>
+OSSL_FUNC_kdf_settable_ctx_params() should return a constant L<OSSL_PARAM(3)>
 array, or NULL if none is offered.
 
 =head1 NOTES
index 938a25b7e8eb1876ded621b201b3b60ea9d9b745..a76466ada90dc6feca73ab1ba3f35dd12adc0c47 100644 (file)
@@ -56,14 +56,14 @@ via the API functions L<EVP_PKEY_encapsulate(3)>,
 L<EVP_PKEY_decapsulate(3)> and other related functions.
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_kem_newctx() has these:
 
@@ -71,7 +71,7 @@ For example, the "function" OSSL_FUNC_kem_newctx() has these:
  static ossl_inline OSSL_FUNC_kem_newctx_fn
      OSSL_FUNC_kem_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_kem_newctx                OSSL_FUNC_KEM_NEWCTX
@@ -199,10 +199,9 @@ Passing NULL for I<params> should return true.
 No parameters are currently recognised by built-in asymmetric kem algorithms.
 
 OSSL_FUNC_kem_gettable_ctx_params() and OSSL_FUNC_kem_settable_ctx_params()
-get a constant B<OSSL_PARAM> array that describes the gettable and settable
+get a constant L<OSSL_PARAM(3)> array that describes the gettable and settable
 parameters, i.e. parameters that can be used with OSSL_FUNC_kem_get_ctx_params()
 and OSSL_FUNC_kem_set_ctx_params() respectively.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter descriptor.
 
 =head1 RETURN VALUES
 
index 48d27988f5394af76258ae3a9c368e2ce5d58a01..9e146d31c719bfe9070d2a4d44b446c63d3b8acc 100644 (file)
@@ -48,14 +48,14 @@ L<EVP_PKEY_derive(3)> and
 other related functions).
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_keyexch_newctx() has these:
 
@@ -63,7 +63,7 @@ For example, the "function" OSSL_FUNC_keyexch_newctx() has these:
  static ossl_inline OSSL_FUNC_keyexch_newctx_fn
      OSSL_FUNC_keyexch_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_keyexch_newctx                OSSL_FUNC_KEYEXCH_NEWCTX
@@ -146,17 +146,16 @@ given provider side key exchange context I<ctx> into I<params>,
 see L</Common Key Exchange parameters>.
 Passing NULL for I<params> should return true.
 
-OSSL_FUNC_keyexch_settable_ctx_params() yields a constant B<OSSL_PARAM> array that
+OSSL_FUNC_keyexch_settable_ctx_params() yields a constant L<OSSL_PARAM(3)> array that
 describes the settable parameters, i.e. parameters that can be used with
 OP_signature_set_ctx_params().
 If OSSL_FUNC_keyexch_settable_ctx_params() is present, OSSL_FUNC_keyexch_set_ctx_params() must
 also be present, and vice versa.
-Similarly, OSSL_FUNC_keyexch_gettable_ctx_params() yields a constant B<OSSL_PARAM>
+Similarly, OSSL_FUNC_keyexch_gettable_ctx_params() yields a constant L<OSSL_PARAM(3)>
 array that describes the gettable parameters, i.e. parameters that can be
 handled by OP_signature_get_ctx_params().
 If OSSL_FUNC_keyexch_gettable_ctx_params() is present, OSSL_FUNC_keyexch_get_ctx_params() must
 also be present, and vice versa.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter descriptor.
 
 Notice that not all settable parameters are also gettable, and vice versa.
 
@@ -217,7 +216,7 @@ OSSL_FUNC_keyexch_set_params(), and OSSL_FUNC_keyexch_get_params() should return
 or 0 on error.
 
 OSSL_FUNC_keyexch_settable_ctx_params() and OSSL_FUNC_keyexch_gettable_ctx_params() should
-always return a constant B<OSSL_PARAM> array.
+always return a constant L<OSSL_PARAM(3)> array.
 
 =head1 SEE ALSO
 
index 17d8d4b3380ade4fa4a847a62e056baae5fb48f1..74516f44d1fafd56e76a6a33df511b4bb8fdcc32 100644 (file)
@@ -72,14 +72,14 @@ The primary responsibility of the KEYMGMT operation is to hold the
 provider side key data for the OpenSSL library EVP_PKEY structure.
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from a B<OSSL_DISPATCH> element named
+function pointer from a L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_keymgmt_new() has these:
 
@@ -87,7 +87,7 @@ For example, the "function" OSSL_FUNC_keymgmt_new() has these:
  static ossl_inline OSSL_FUNC_keymgmt_new_fn
      OSSL_FUNC_keymgmt_new(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_keymgmt_new                  OSSL_FUNC_KEYMGMT_NEW
@@ -236,7 +236,7 @@ OSSL_FUNC_keymgmt_gen_set_params() should set additional parameters from
 I<params> in the key object generation context I<genctx>.
 
 OSSL_FUNC_keymgmt_gen_settable_params() should return a constant array of
-descriptor B<OSSL_PARAM>, for parameters that OSSL_FUNC_keymgmt_gen_set_params()
+descriptor L<OSSL_PARAM(3)>, for parameters that OSSL_FUNC_keymgmt_gen_set_params()
 can handle.
 
 OSSL_FUNC_keymgmt_gen() should perform the key object generation itself, and
@@ -264,7 +264,7 @@ OSSL_FUNC_keymgmt_get_params() should extract information data associated
 with the given I<keydata>, see L</Common Information Parameters>.
 
 OSSL_FUNC_keymgmt_gettable_params() should return a constant array of
-descriptor B<OSSL_PARAM>, for parameters that OSSL_FUNC_keymgmt_get_params()
+descriptor L<OSSL_PARAM(3)>, for parameters that OSSL_FUNC_keymgmt_get_params()
 can handle.
 
 If OSSL_FUNC_keymgmt_gettable_params() is present, OSSL_FUNC_keymgmt_get_params()
@@ -274,7 +274,7 @@ OSSL_FUNC_keymgmt_set_params() should update information data associated
 with the given I<keydata>, see L</Common Information Parameters>.
 
 OSSL_FUNC_keymgmt_settable_params() should return a constant array of
-descriptor B<OSSL_PARAM>, for parameters that OSSL_FUNC_keymgmt_set_params()
+descriptor L<OSSL_PARAM(3)>, for parameters that OSSL_FUNC_keymgmt_set_params()
 can handle.
 
 If OSSL_FUNC_keymgmt_settable_params() is present, OSSL_FUNC_keymgmt_set_params()
@@ -323,18 +323,18 @@ by the implementation of this function.
 =head2 Key Object Import, Export and Duplication Functions
 
 OSSL_FUNC_keymgmt_import() should import data indicated by I<selection> into
-I<keydata> with values taken from the B<OSSL_PARAM> array I<params>.
+I<keydata> with values taken from the L<OSSL_PARAM(3)> array I<params>.
 
 OSSL_FUNC_keymgmt_export() should extract values indicated by I<selection>
-from I<keydata>, create an B<OSSL_PARAM> array with them and call
+from I<keydata>, create an L<OSSL_PARAM(3)> array with them and call
 I<param_cb> with that array as well as the given I<cbarg>.
 
 OSSL_FUNC_keymgmt_import_types() should return a constant array of descriptor
-B<OSSL_PARAM> for data indicated by I<selection>, for parameters that
+L<OSSL_PARAM(3)> for data indicated by I<selection>, for parameters that
 OSSL_FUNC_keymgmt_import() can handle.
 
 OSSL_FUNC_keymgmt_export_types() should return a constant array of descriptor
-B<OSSL_PARAM> for data indicated by I<selection>, that the
+L<OSSL_PARAM(3)> for data indicated by I<selection>, that the
 OSSL_FUNC_keymgmt_export() callback can expect to receive.
 
 OSSL_FUNC_keymgmt_dup() should duplicate data subsets indicated by
@@ -397,7 +397,7 @@ applies.
 OSSL_FUNC_keymgmt_gettable_params() and OSSL_FUNC_keymgmt_settable_params()
 OSSL_FUNC_keymgmt_import_types(), OSSL_FUNC_keymgmt_export_types()
 should
-always return a constant B<OSSL_PARAM> array.
+always return a constant L<OSSL_PARAM(3)> array.
 
 =head1 SEE ALSO
 
index 5a1659121eba91f60453a51fb3f3bd9b5965a60c..6d7bd46d299e9d06fafe3fe78f8bfbe10557d2ac 100644 (file)
@@ -48,14 +48,14 @@ them available to applications via the API functions L<EVP_MAC_init(3)>,
 L<EVP_MAC_update(3)> and L<EVP_MAC_final(3)>.
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_mac_newctx() has these:
 
@@ -63,7 +63,7 @@ For example, the "function" OSSL_FUNC_mac_newctx() has these:
  static ossl_inline OSSL_FUNC_mac_newctx_fn
      OSSL_FUNC_mac_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_mac_newctx               OSSL_FUNC_MAC_NEWCTX
@@ -145,7 +145,7 @@ in I<params>.
 Passing NULL for I<params> should return true.
 
 OSSL_FUNC_mac_gettable_params(), OSSL_FUNC_mac_gettable_ctx_params(),
-and OSSL_FUNC_mac_settable_ctx_params() all return constant B<OSSL_PARAM>
+and OSSL_FUNC_mac_settable_ctx_params() all return constant L<OSSL_PARAM(3)>
 arrays as descriptors of the parameters that OSSL_FUNC_mac_get_params(),
 OSSL_FUNC_mac_get_ctx_params(), and OSSL_FUNC_mac_set_ctx_params()
 can handle, respectively.  OSSL_FUNC_mac_gettable_ctx_params() and
@@ -209,7 +209,7 @@ OSSL_FUNC_mac_get_ctx_params() and OSSL_FUNC_mac_set_ctx_params() should return
 success or 0 on error.
 
 OSSL_FUNC_mac_gettable_params(), OSSL_FUNC_mac_gettable_ctx_params() and
-OSSL_FUNC_mac_settable_ctx_params() should return a constant B<OSSL_PARAM>
+OSSL_FUNC_mac_settable_ctx_params() should return a constant L<OSSL_PARAM(3)>
 array, or NULL if none is offered.
 
 =head1 SEE ALSO
index 951f483b60ab01d0411954e313bcf4267bf931a5..e115d845dcd908e4dd171dabe4fbefb29a75cd38 100644 (file)
@@ -168,7 +168,7 @@ in I<params>.
 Passing NULL for I<params> should return true.
 
 OSSL_FUNC_rand_gettable_params(), OSSL_FUNC_rand_gettable_ctx_params(),
-and OSSL_FUNC_rand_settable_ctx_params() all return constant B<OSSL_PARAM>
+and OSSL_FUNC_rand_settable_ctx_params() all return constant L<OSSL_PARAM(3)>
 arrays as descriptors of the parameters that OSSL_FUNC_rand_get_params(),
 OSSL_FUNC_rand_get_ctx_params(), and OSSL_FUNC_rand_set_ctx_params()
 can handle, respectively.  OSSL_FUNC_rand_gettable_ctx_params()
@@ -262,7 +262,7 @@ OSSL_FUNC_rand_newctx() should return the newly created
 provider side rand context, or NULL on failure.
 
 OSSL_FUNC_rand_gettable_params(), OSSL_FUNC_rand_gettable_ctx_params() and
-OSSL_FUNC_rand_settable_ctx_params() should return a constant B<OSSL_PARAM>
+OSSL_FUNC_rand_settable_ctx_params() should return a constant L<OSSL_PARAM(3)>
 array, or NULL if none is offered.
 
 OSSL_FUNC_rand_nonce() returns the size of the generated nonce, or 0 on error.
index d77979cd8e165dd8349278e5dd6cfdd897a2a21e..022b52ae14a3076dc8b4a9be68bd4d35686d667b 100644 (file)
@@ -93,14 +93,14 @@ and L<EVP_PKEY_verify_recover(3)> (as well
 as other related functions).
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition
 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
-function pointer from an B<OSSL_DISPATCH> element named
+function pointer from an L<OSSL_DISPATCH(3)> element named
 B<OSSL_FUNC_{name}>.
 For example, the "function" OSSL_FUNC_signature_newctx() has these:
 
@@ -108,7 +108,7 @@ For example, the "function" OSSL_FUNC_signature_newctx() has these:
  static ossl_inline OSSL_FUNC_signature_newctx_fn
      OSSL_FUNC_signature_newctx(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as
 macros in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_signature_newctx                 OSSL_FUNC_SIGNATURE_NEWCTX
@@ -388,10 +388,9 @@ supply known values that either pass or fail.
 =back
 
 OSSL_FUNC_signature_gettable_ctx_params() and OSSL_FUNC_signature_settable_ctx_params() get a
-constant B<OSSL_PARAM> array that describes the gettable and settable parameters,
+constant L<OSSL_PARAM(3)> array that describes the gettable and settable parameters,
 i.e. parameters that can be used with OSSL_FUNC_signature_get_ctx_params() and
 OSSL_FUNC_signature_set_ctx_params() respectively.
-See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter descriptor.
 
 =head2 MD parameters
 
@@ -413,11 +412,10 @@ as those for built-in digest algorithms. See
 L<provider-digest(7)/Digest Parameters> for further information.
 
 OSSL_FUNC_signature_gettable_md_ctx_params() and OSSL_FUNC_signature_settable_md_ctx_params()
-get a constant B<OSSL_PARAM> array that describes the gettable and settable
+get a constant L<OSSL_PARAM(3)> array that describes the gettable and settable
 digest parameters, i.e. parameters that can be used with
 OSSL_FUNC_signature_get_md_ctx_params() and OSSL_FUNC_signature_set_md_ctx_params()
-respectively. See L<OSSL_PARAM(3)> for the use of B<OSSL_PARAM> as parameter
-descriptor.
+respectively.
 
 =head1 RETURN VALUES
 
@@ -426,7 +424,7 @@ provider side signature, or NULL on failure.
 
 OSSL_FUNC_signature_gettable_ctx_params(), OSSL_FUNC_signature_settable_ctx_params(),
 OSSL_FUNC_signature_gettable_md_ctx_params() and OSSL_FUNC_signature_settable_md_ctx_params(),
-return the gettable or settable parameters in a constant B<OSSL_PARAM> array.
+return the gettable or settable parameters in a constant L<OSSL_PARAM(3)> array.
 
 All other functions should return 1 for success or 0 on error.
 
index 611f24930c0ad41cb809afa6cf9045ae8164d6d0..615ff7ef8e552732a5a2ab967c2827097f2c4657 100644 (file)
@@ -44,14 +44,14 @@ OSSL_FUNC_store_export_object() (which exports the object in parameterized
 form).
 
 All "functions" mentioned here are passed as function pointers between
-F<libcrypto> and the provider in B<OSSL_DISPATCH> arrays via
-B<OSSL_ALGORITHM> arrays that are returned by the provider's
+F<libcrypto> and the provider in L<OSSL_DISPATCH(3)> arrays via
+L<OSSL_ALGORITHM(3)> arrays that are returned by the provider's
 provider_query_operation() function
 (see L<provider-base(7)/Provider Functions>).
 
 All these "functions" have a corresponding function type definition named
 B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the function pointer
-from a B<OSSL_DISPATCH> element named B<OSSL_get_{name}>.
+from a L<OSSL_DISPATCH(3)> element named B<OSSL_get_{name}>.
 For example, the "function" OSSL_FUNC_store_attach() has these:
 
  typedef void *(OSSL_FUNC_store_attach_fn)(void *provctx,
@@ -59,7 +59,7 @@ For example, the "function" OSSL_FUNC_store_attach() has these:
  static ossl_inline OSSL_FUNC_store_attach_fn
      OSSL_FUNC_store_attach(const OSSL_DISPATCH *opf);
 
-B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as macros
+L<OSSL_DISPATCH(3)> arrays are indexed by numbers that are provided as macros
 in L<openssl-core_dispatch.h(7)>, as follows:
 
  OSSL_FUNC_store_open                 OSSL_FUNC_STORE_OPEN
@@ -82,7 +82,7 @@ B<BIO> I<bio> attached.  This is an alternative to using a URI to find storage,
 supporting L<OSSL_STORE_attach(3)>.
 
 OSSL_FUNC_store_settable_ctx_params() should return a constant array of
-descriptor B<OSSL_PARAM>, for parameters that OSSL_FUNC_store_set_ctx_params()
+descriptor L<OSSL_PARAM(3)>, for parameters that OSSL_FUNC_store_set_ctx_params()
 can handle.
 
 OSSL_FUNC_store_set_ctx_params() should set additional parameters, such as what
@@ -111,7 +111,7 @@ exporting the object to that foreign provider if the foreign provider
 supports the type of the object and provides an import function.
 
 OSSL_FUNC_store_export_object() should export the object of size I<objref_sz>
-referenced by I<objref> as an B<OSSL_PARAM> array and pass that to the
+referenced by I<objref> as an L<OSSL_PARAM(3)> array and pass that to the
 I<export_cb> as well as the given I<export_cbarg>.
 
 =head2 Load Parameters
index fb092931c92db421936a8162a5544b8965785a6e..a061fc4709d0bb1287d284b29e18abc75fee8dcf 100644 (file)
@@ -34,8 +34,8 @@ See L<crypto(7)> for further details.
 =head2 Provider
 
 A I<provider> offers an initialization function, as a set of base
-functions in the form of an B<OSSL_DISPATCH> array, and by extension,
-a set of B<OSSL_ALGORITHM>s (see L<openssl-core.h(7)>).
+functions in the form of an L<OSSL_DISPATCH(3)> array, and by extension,
+a set of L<OSSL_ALGORITHM(3)>s (see L<openssl-core.h(7)>).
 It may be a dynamically loadable module, or may be built-in, in
 OpenSSL libraries or in the application.
 If it's a dynamically loadable module, the initialization function
@@ -92,7 +92,7 @@ nonzero, signifies that the OpenSSL libraries will not store a
 reference to the returned data in their internal store of
 implementations.
 
-The returned B<OSSL_ALGORITHM> is the foundation of any OpenSSL
+The returned L<OSSL_ALGORITHM(3)> is the foundation of any OpenSSL
 library API that uses providers for their implementation, most
 commonly in the I<fetching> type of functions
 (see L<crypto(7)/ALGORITHM FETCHING>).