Lines Matching full:rand
18 EVP_RAND_STATE_ERROR - EVP RAND routines
29 int EVP_RAND_up_ref(EVP_RAND *rand);
30 void EVP_RAND_free(EVP_RAND *rand);
31 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
35 int EVP_RAND_get_params(EVP_RAND *rand, OSSL_PARAM params[]);
38 const OSSL_PARAM *EVP_RAND_gettable_params(const EVP_RAND *rand);
39 const OSSL_PARAM *EVP_RAND_gettable_ctx_params(const EVP_RAND *rand);
40 const OSSL_PARAM *EVP_RAND_settable_ctx_params(const EVP_RAND *rand);
43 const char *EVP_RAND_get0_name(const EVP_RAND *rand);
44 const char *EVP_RAND_get0_description(const EVP_RAND *rand);
45 int EVP_RAND_is_a(const EVP_RAND *rand, const char *name);
46 const OSSL_PROVIDER *EVP_RAND_get0_provider(const EVP_RAND *rand);
48 void (*fn)(EVP_RAND *rand, void *arg),
50 int EVP_RAND_names_do_all(const EVP_RAND *rand,
77 The EVP RAND routines are a high-level interface to random number generators
82 RAND and RAND_DRBG functions.
92 B<EVP_RAND> is a type that holds the implementation of a RAND.
99 EVP_RAND_fetch() fetches an implementation of a RAND I<algorithm>, given
107 RAND.
114 EVP_RAND_CTX_new() creates a new context for the RAND implementation I<rand>.
131 then instantiates the RAND I<ctx> with a minimum security strength
136 EVP_RAND_uninstantiate() uninstantiates the RAND I<ctx> as per
137 NIST SP 800-90A and SP 800-90C. Subsequent to this call, the RAND cannot
140 EVP_RAND_generate() produces random bytes from the RAND I<ctx> with the
146 EVP_RAND_reseed() reseeds the RAND with new entropy.
150 Additional seed material is also drawn from the RAND's parent or the
156 bytes from the RAND I<ctx>.
158 EVP_RAND_enable_locking() enables locking for the RAND I<ctx> and all of
165 I<rand>.
207 EVP_RAND_get_strength() returns the security strength of the RAND I<ctx>.
209 EVP_RAND_get_state() returns the current state of the RAND I<ctx>.
229 EVP_RAND_is_a() returns 1 if I<rand> is an implementation of an
233 of the given I<rand>.
235 EVP_RAND_do_all_provided() traverses all RAND implemented by all activated
240 EVP_RAND_get0_name() returns the canonical name of I<rand>.
242 EVP_RAND_names_do_all() traverses all names for I<rand>, and calls
245 EVP_RAND_get0_description() returns a description of the rand, meant for
247 the rand implementation.
284 associated RAND ctx.
289 associated RAND ctx.
329 For RAND implementations that use an underlying computation MAC, digest or
355 The RAND life-cycle is described in L<life_cycle-rand(7)>. In the future,
364 EVP_RAND_get0_provider() returns a pointer to the provider for the RAND, or
405 L<EVP_RAND-TEST-RAND(7)>,
406 L<provider-rand(7)>,
407 L<life_cycle-rand(7)>