Symbol: EVP_RAND_CTX
crypto/openssl/apps/list.c
439
static void display_random(const char *name, EVP_RAND_CTX *drbg)
crypto/openssl/crypto/evp/evp_local.h
89
EVP_RAND_CTX *parent; /* Parent EVP_RAND or NULL if none */
crypto/openssl/crypto/evp/evp_rand.c
103
static int evp_rand_lock(EVP_RAND_CTX *rand)
crypto/openssl/crypto/evp/evp_rand.c
111
static void evp_rand_unlock(EVP_RAND_CTX *rand)
crypto/openssl/crypto/evp/evp_rand.c
332
int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
339
EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent)
crypto/openssl/crypto/evp/evp_rand.c
341
EVP_RAND_CTX *ctx;
crypto/openssl/crypto/evp/evp_rand.c
383
void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
386
EVP_RAND_CTX *parent;
crypto/openssl/crypto/evp/evp_rand.c
403
EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
408
static int evp_rand_get_ctx_params_locked(EVP_RAND_CTX *ctx,
crypto/openssl/crypto/evp/evp_rand.c
414
int EVP_RAND_CTX_get_params(EVP_RAND_CTX *ctx, OSSL_PARAM params[])
crypto/openssl/crypto/evp/evp_rand.c
425
static int evp_rand_set_ctx_params_locked(EVP_RAND_CTX *ctx,
crypto/openssl/crypto/evp/evp_rand.c
433
int EVP_RAND_CTX_set_params(EVP_RAND_CTX *ctx, const OSSL_PARAM params[])
crypto/openssl/crypto/evp/evp_rand.c
471
const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
481
const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
511
static int evp_rand_instantiate_locked(EVP_RAND_CTX *ctx, unsigned int strength, int prediction_resistance,
crypto/openssl/crypto/evp/evp_rand.c
518
int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength,
crypto/openssl/crypto/evp/evp_rand.c
533
static int evp_rand_uninstantiate_locked(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
538
int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
549
static int evp_rand_generate_locked(EVP_RAND_CTX *ctx, unsigned char *out,
crypto/openssl/crypto/evp/evp_rand.c
581
int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen,
crypto/openssl/crypto/evp/evp_rand.c
595
static int evp_rand_reseed_locked(EVP_RAND_CTX *ctx, int prediction_resistance,
crypto/openssl/crypto/evp/evp_rand.c
605
int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance,
crypto/openssl/crypto/evp/evp_rand.c
619
static unsigned int evp_rand_strength_locked(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
630
unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
641
static int evp_rand_nonce_locked(EVP_RAND_CTX *ctx, unsigned char *out,
crypto/openssl/crypto/evp/evp_rand.c
651
int EVP_RAND_nonce(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen)
crypto/openssl/crypto/evp/evp_rand.c
667
int EVP_RAND_get_state(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
678
static int evp_rand_verify_zeroization_locked(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
685
int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
696
int evp_rand_can_seed(EVP_RAND_CTX *ctx)
crypto/openssl/crypto/evp/evp_rand.c
701
static size_t evp_rand_get_seed_locked(EVP_RAND_CTX *ctx,
crypto/openssl/crypto/evp/evp_rand.c
717
size_t evp_rand_get_seed(EVP_RAND_CTX *ctx,
crypto/openssl/crypto/evp/evp_rand.c
736
static void evp_rand_clear_seed_locked(EVP_RAND_CTX *ctx,
crypto/openssl/crypto/evp/evp_rand.c
743
void evp_rand_clear_seed(EVP_RAND_CTX *ctx,
crypto/openssl/crypto/evp/evp_rand.c
94
int EVP_RAND_enable_locking(EVP_RAND_CTX *rand)
crypto/openssl/crypto/rand/prov_seed.c
106
EVP_RAND_CTX *rng = ossl_rand_get0_seed_noncreating(ctx);
crypto/openssl/crypto/rand/prov_seed.c
48
EVP_RAND_CTX *rng = ossl_rand_get0_seed_noncreating(ctx);
crypto/openssl/crypto/rand/prov_seed.c
66
EVP_RAND_CTX *rng = ossl_rand_get0_seed_noncreating(ctx);
crypto/openssl/crypto/rand/rand_lib.c
361
EVP_RAND_CTX *drbg;
crypto/openssl/crypto/rand/rand_lib.c
378
EVP_RAND_CTX *drbg;
crypto/openssl/crypto/rand/rand_lib.c
412
EVP_RAND_CTX *rand;
crypto/openssl/crypto/rand/rand_lib.c
43
EVP_RAND_CTX *seed;
crypto/openssl/crypto/rand/rand_lib.c
443
EVP_RAND_CTX *rand;
crypto/openssl/crypto/rand/rand_lib.c
482
EVP_RAND_CTX *rand;
crypto/openssl/crypto/rand/rand_lib.c
56
EVP_RAND_CTX *primary;
crypto/openssl/crypto/rand/rand_lib.c
595
EVP_RAND_CTX *rand;
crypto/openssl/crypto/rand/rand_lib.c
610
static EVP_RAND_CTX *rand_new_seed(OSSL_LIB_CTX *libctx)
crypto/openssl/crypto/rand/rand_lib.c
615
EVP_RAND_CTX *ctx = NULL;
crypto/openssl/crypto/rand/rand_lib.c
652
EVP_RAND_CTX *ossl_rand_get0_seed_noncreating(OSSL_LIB_CTX *ctx)
crypto/openssl/crypto/rand/rand_lib.c
655
EVP_RAND_CTX *ret;
crypto/openssl/crypto/rand/rand_lib.c
668
static EVP_RAND_CTX *rand_new_drbg(OSSL_LIB_CTX *libctx, EVP_RAND_CTX *parent,
crypto/openssl/crypto/rand/rand_lib.c
674
EVP_RAND_CTX *ctx;
crypto/openssl/crypto/rand/rand_lib.c
731
static EVP_RAND_CTX *rand_new_crngt(OSSL_LIB_CTX *libctx, EVP_RAND_CTX *parent)
crypto/openssl/crypto/rand/rand_lib.c
734
EVP_RAND_CTX *ctx;
crypto/openssl/crypto/rand/rand_lib.c
762
static EVP_RAND_CTX *rand_get0_primary(OSSL_LIB_CTX *ctx, RAND_GLOBAL *dgbl)
crypto/openssl/crypto/rand/rand_lib.c
764
EVP_RAND_CTX *ret, *seed, *newseed = NULL, *primary;
crypto/openssl/crypto/rand/rand_lib.c
834
EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx)
crypto/openssl/crypto/rand/rand_lib.c
841
static EVP_RAND_CTX *rand_get0_public(OSSL_LIB_CTX *ctx, RAND_GLOBAL *dgbl)
crypto/openssl/crypto/rand/rand_lib.c
843
EVP_RAND_CTX *rand, *primary;
crypto/openssl/crypto/rand/rand_lib.c
876
EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx)
crypto/openssl/crypto/rand/rand_lib.c
883
static EVP_RAND_CTX *rand_get0_private(OSSL_LIB_CTX *ctx, RAND_GLOBAL *dgbl)
crypto/openssl/crypto/rand/rand_lib.c
885
EVP_RAND_CTX *rand, *primary;
crypto/openssl/crypto/rand/rand_lib.c
915
EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx)
crypto/openssl/crypto/rand/rand_lib.c
923
EVP_RAND_CTX *ossl_rand_get0_private_noncreating(OSSL_LIB_CTX *ctx)
crypto/openssl/crypto/rand/rand_lib.c
934
int RAND_set0_public(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand)
crypto/openssl/crypto/rand/rand_lib.c
937
EVP_RAND_CTX *old;
crypto/openssl/crypto/rand/rand_lib.c
948
int RAND_set0_private(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand)
crypto/openssl/crypto/rand/rand_lib.c
951
EVP_RAND_CTX *old;
crypto/openssl/crypto/rand/rand_lib.c
97
static EVP_RAND_CTX *rand_get0_primary(OSSL_LIB_CTX *ctx, RAND_GLOBAL *dgbl);
crypto/openssl/crypto/rand/rand_lib.c
98
static EVP_RAND_CTX *rand_get0_public(OSSL_LIB_CTX *ctx, RAND_GLOBAL *dgbl);
crypto/openssl/crypto/rand/rand_lib.c
99
static EVP_RAND_CTX *rand_get0_private(OSSL_LIB_CTX *ctx, RAND_GLOBAL *dgbl);
crypto/openssl/crypto/rand/rand_meth.c
17
EVP_RAND_CTX *drbg = RAND_get0_primary(NULL);
crypto/openssl/crypto/rand/rand_meth.c
34
EVP_RAND_CTX *drbg = RAND_get0_primary(NULL);
crypto/openssl/crypto/rand/rand_meth.c
45
EVP_RAND_CTX *drbg = RAND_get0_public(NULL);
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
195
static int rsa_validate_rng_strength(EVP_RAND_CTX *rng, int nbits)
crypto/openssl/fuzz/provider.c
497
EVP_RAND_CTX *ctx = NULL;
crypto/openssl/include/crypto/evp.h
983
int evp_rand_can_seed(EVP_RAND_CTX *ctx);
crypto/openssl/include/crypto/evp.h
984
size_t evp_rand_get_seed(EVP_RAND_CTX *ctx,
crypto/openssl/include/crypto/evp.h
989
void evp_rand_clear_seed(EVP_RAND_CTX *ctx,
crypto/openssl/include/crypto/rand.h
138
EVP_RAND_CTX *ossl_rand_get0_private_noncreating(OSSL_LIB_CTX *ctx);
crypto/openssl/include/crypto/rand.h
140
EVP_RAND_CTX *ossl_rand_get0_seed_noncreating(OSSL_LIB_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1299
EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
crypto/openssl/include/openssl/evp.h
1300
int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1301
void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1302
EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1303
int EVP_RAND_CTX_get_params(EVP_RAND_CTX *ctx, OSSL_PARAM params[]);
crypto/openssl/include/openssl/evp.h
1304
int EVP_RAND_CTX_set_params(EVP_RAND_CTX *ctx, const OSSL_PARAM params[]);
crypto/openssl/include/openssl/evp.h
1308
const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1309
const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1318
__owur int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength,
crypto/openssl/include/openssl/evp.h
1322
int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1323
__owur int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out,
crypto/openssl/include/openssl/evp.h
1327
int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance,
crypto/openssl/include/openssl/evp.h
1330
__owur int EVP_RAND_nonce(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen);
crypto/openssl/include/openssl/evp.h
1331
__owur int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1333
int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1334
unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/evp.h
1335
int EVP_RAND_get_state(EVP_RAND_CTX *ctx);
crypto/openssl/include/openssl/rand.h
84
EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx);
crypto/openssl/include/openssl/rand.h
85
EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx);
crypto/openssl/include/openssl/rand.h
86
EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx);
crypto/openssl/include/openssl/rand.h
87
int RAND_set0_public(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand);
crypto/openssl/include/openssl/rand.h
88
int RAND_set0_private(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand);
crypto/openssl/providers/fips/self_test.c
326
EVP_RAND_CTX *rng;
crypto/openssl/providers/fips/self_test_kats.c
1017
static EVP_RAND_CTX *kat_rand = NULL;
crypto/openssl/providers/fips/self_test_kats.c
1018
static EVP_RAND_CTX *main_rand = NULL;
crypto/openssl/providers/fips/self_test_kats.c
1027
EVP_RAND_CTX *parent_rand = NULL;
crypto/openssl/providers/fips/self_test_kats.c
1171
EVP_RAND_CTX *saved_rand = ossl_rand_get0_private_noncreating(libctx);
crypto/openssl/providers/fips/self_test_kats.c
297
EVP_RAND_CTX *test = NULL, *drbg = NULL;
crypto/openssl/test/acvp_test.c
1581
EVP_RAND_CTX *ctx = NULL, *parent = NULL;
crypto/openssl/test/drbgtest.c
103
static void set_reseed_counter(EVP_RAND_CTX *drbg, unsigned int n)
crypto/openssl/test/drbgtest.c
110
static void inc_reseed_counter(EVP_RAND_CTX *drbg)
crypto/openssl/test/drbgtest.c
115
static time_t reseed_time(EVP_RAND_CTX *drbg)
crypto/openssl/test/drbgtest.c
133
EVP_RAND_CTX *primary = RAND_get0_primary(NULL);
crypto/openssl/test/drbgtest.c
153
static int disable_crngt(EVP_RAND_CTX *drbg)
crypto/openssl/test/drbgtest.c
174
EVP_RAND_CTX *primary,
crypto/openssl/test/drbgtest.c
175
EVP_RAND_CTX *public,
crypto/openssl/test/drbgtest.c
176
EVP_RAND_CTX *private,
crypto/openssl/test/drbgtest.c
328
static int test_drbg_reseed_in_child(EVP_RAND_CTX *primary,
crypto/openssl/test/drbgtest.c
329
EVP_RAND_CTX *public,
crypto/openssl/test/drbgtest.c
330
EVP_RAND_CTX *private,
crypto/openssl/test/drbgtest.c
397
static int test_rand_reseed_on_fork(EVP_RAND_CTX *primary,
crypto/openssl/test/drbgtest.c
398
EVP_RAND_CTX *public,
crypto/openssl/test/drbgtest.c
399
EVP_RAND_CTX *private)
crypto/openssl/test/drbgtest.c
42
static int gen_bytes(EVP_RAND_CTX *drbg, unsigned char *buf, int num)
crypto/openssl/test/drbgtest.c
520
EVP_RAND_CTX *primary, *public, *private;
crypto/openssl/test/drbgtest.c
547
EVP_RAND_CTX *primary, *public, *private;
crypto/openssl/test/drbgtest.c
667
static int set_reseed_time_interval(EVP_RAND_CTX *drbg, int t)
crypto/openssl/test/drbgtest.c
681
EVP_RAND_CTX *public = NULL, *private = NULL;
crypto/openssl/test/drbgtest.c
75
static int state(EVP_RAND_CTX *drbg)
crypto/openssl/test/drbgtest.c
778
static EVP_RAND_CTX *new_drbg(EVP_RAND_CTX *parent)
crypto/openssl/test/drbgtest.c
782
EVP_RAND_CTX *drbg = NULL;
crypto/openssl/test/drbgtest.c
80
static unsigned int query_rand_uint(EVP_RAND_CTX *drbg, const char *name)
crypto/openssl/test/drbgtest.c
800
EVP_RAND_CTX *x = NULL, *y = NULL, *z = NULL;
crypto/openssl/test/drbgtest.c
92
static unsigned int name(EVP_RAND_CTX *drbg) \
crypto/openssl/test/drbgtest.c
98
static PROV_DRBG *prov_rand(EVP_RAND_CTX *drbg)
crypto/openssl/test/ecdsatest.c
36
EVP_RAND_CTX *ctx)
crypto/openssl/test/evp_extra_test.c
4349
EVP_RAND_CTX *ctx;
crypto/openssl/test/evp_test.c
182
static int rand_check_fips_approved(EVP_RAND_CTX *ctx, EVP_TEST *t)
crypto/openssl/test/evp_test.c
3528
EVP_RAND_CTX *ctx;
crypto/openssl/test/evp_test.c
3529
EVP_RAND_CTX *parent;
crypto/openssl/test/ml_kem_evp_extra_test.c
221
EVP_RAND_CTX *privctx;
crypto/openssl/test/ml_kem_evp_extra_test.c
222
EVP_RAND_CTX *pubctx;
crypto/openssl/test/ml_kem_internal_test.c
81
EVP_RAND_CTX *privctx;
crypto/openssl/test/ml_kem_internal_test.c
82
EVP_RAND_CTX *pubctx;
crypto/openssl/test/rand_test.c
112
EVP_RAND_CTX *crngt = NULL, *parent = NULL;
crypto/openssl/test/rand_test.c
22
EVP_RAND_CTX *privctx;
crypto/openssl/test/sm2_internal_test.c
40
ossl_unused EVP_RAND_CTX *ctx)
crypto/openssl/test/testutil.h
633
const char *name, EVP_RAND_CTX *ctx);
crypto/openssl/test/testutil.h
637
void fake_rand_set_callback(EVP_RAND_CTX *ctx,
crypto/openssl/test/testutil.h
639
const char *name, EVP_RAND_CTX *ctx));
crypto/openssl/test/testutil/fake_random.c
174
static int check_rng(EVP_RAND_CTX *rng, const char *name)
crypto/openssl/test/testutil/fake_random.c
214
void fake_rand_set_callback(EVP_RAND_CTX *rng,
crypto/openssl/test/testutil/fake_random.c
216
const char *name, EVP_RAND_CTX *ctx))
crypto/openssl/test/testutil/fake_random.c
226
EVP_RAND_CTX *ctx))
crypto/openssl/test/testutil/fake_random.c
23
EVP_RAND_CTX *ctx;