diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-23 10:45:39 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 18:08:41 +1000 |
commit | 530cacb56fbe02da8aca436c4c1ae8000200e69c (patch) | |
tree | 04a646884c230982e93cad067f3d1ff60c208ecf /doc/man7 | |
parent | caa60428cd8f0aa60cd2fb7e6da4f5aa9664ae16 (diff) |
doc: changes to match the updated context gettable/settable calls
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14240)
Diffstat (limited to 'doc/man7')
-rw-r--r-- | doc/man7/provider-kdf.pod | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/man7/provider-kdf.pod b/doc/man7/provider-kdf.pod index 8e2069e34a..4d3d91a4e7 100644 --- a/doc/man7/provider-kdf.pod +++ b/doc/man7/provider-kdf.pod @@ -28,8 +28,8 @@ provider-kdf - The KDF library E<lt>-E<gt> provider functions /* KDF parameter descriptors */ const OSSL_PARAM *OSSL_FUNC_kdf_gettable_params(void *provctx); - const OSSL_PARAM *OSSL_FUNC_kdf_gettable_ctx_params(void *provctx); - const OSSL_PARAM *OSSL_FUNC_kdf_settable_ctx_params(void *provctx); + const OSSL_PARAM *OSSL_FUNC_kdf_gettable_ctx_params(void *kcxt, void *provctx); + const OSSL_PARAM *OSSL_FUNC_kdf_settable_ctx_params(void *kcxt, void *provctx); /* KDF parameters */ int OSSL_FUNC_kdf_get_params(OSSL_PARAM params[]); @@ -129,11 +129,16 @@ Any parameter settings are additional to any that were previously set. OSSL_FUNC_kdf_get_ctx_params() retrieves gettable parameter values associated with the given provider side KDF context I<kctx> and stores them in I<params>. -OSSL_FUNC_kdf_gettable_params(), OSSL_FUNC_kdf_gettable_ctx_params(), and -OSSL_FUNC_kdf_settable_ctx_params() all return constant B<OSSL_PARAM> 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_params(), OSSL_FUNC_kdf_gettable_ctx_params(), +and OSSL_FUNC_kdf_settable_ctx_params() all return constant B<OSSL_PARAM> +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 +OSSL_FUNC_kdf_settable_ctx_params() will return the parameters associated +with the provider side context I<kctx> in its current state if it is +not NULL. Otherwise, they return the parameters associated with the +provider side algorithm I<provctx>. + Parameters currently recognised by built-in KDFs are as follows. Not all parameters are relevant to, or are understood by all KDFs: |