diff options
author | Pauli <ppzgs1@gmail.com> | 2021-02-23 00:50:17 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-26 09:08:41 +0100 |
commit | 90fec26dc681bec9af25fb5bd232109f1f261965 (patch) | |
tree | afc5914190c385dcca75c60c49c9595acfc3cc44 /doc/man7/provider-rand.pod | |
parent | doc: note changes to digest gettable/settable provider calls (diff) | |
download | openssl-90fec26dc681bec9af25fb5bd232109f1f261965.tar.xz openssl-90fec26dc681bec9af25fb5bd232109f1f261965.zip |
doc: note changes to rand gettable/settable provider call
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14240)
Diffstat (limited to 'doc/man7/provider-rand.pod')
-rw-r--r-- | doc/man7/provider-rand.pod | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/man7/provider-rand.pod b/doc/man7/provider-rand.pod index 3250e3c11a..5de3a15f38 100644 --- a/doc/man7/provider-rand.pod +++ b/doc/man7/provider-rand.pod @@ -53,8 +53,8 @@ functions /* RAND parameter descriptors */ const OSSL_PARAM *OSSL_FUNC_rand_gettable_params(void *provctx); - const OSSL_PARAM *OSSL_FUNC_rand_gettable_ctx_params(void *provctx); - const OSSL_PARAM *OSSL_FUNC_rand_settable_ctx_params(void *provctx); + const OSSL_PARAM *OSSL_FUNC_rand_gettable_ctx_params(void *ctx, void *provctx); + const OSSL_PARAM *OSSL_FUNC_rand_settable_ctx_params(void *ctx, void *provctx); /* RAND parameters */ int OSSL_FUNC_rand_get_params(OSSL_PARAM params[]); @@ -163,11 +163,16 @@ OSSL_FUNC_rand_get_ctx_params() gets details of currently set parameter values associated with the given provider side rand context I<ctx> and stores them in I<params>. -OSSL_FUNC_rand_gettable_params(), OSSL_FUNC_rand_gettable_ctx_params(), and -OSSL_FUNC_rand_settable_ctx_params() all return constant B<OSSL_PARAM> 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_params(), OSSL_FUNC_rand_gettable_ctx_params(), +and OSSL_FUNC_rand_settable_ctx_params() all return constant B<OSSL_PARAM> +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() +and OSSL_FUNC_rand_settable_ctx_params() will return the parameters +associated with the provider side context I<ctx> 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 rands are as follows. Not all parameters are relevant to, or are understood by all rands: |