diff options
Diffstat (limited to 'doc/man7')
-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: |