Home
last modified time | relevance | path

Searched refs:EVP_RAND_CTX (Results 1 – 25 of 36) sorted by relevance

12

/openssl/crypto/evp/
H A Devp_rand.c94 int EVP_RAND_enable_locking(EVP_RAND_CTX *rand) in EVP_RAND_enable_locking()
103 static int evp_rand_lock(EVP_RAND_CTX *rand) in evp_rand_lock()
335 int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_up_ref()
342 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent) in EVP_RAND_CTX_new()
344 EVP_RAND_CTX *ctx; in EVP_RAND_CTX_new()
385 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_free()
388 EVP_RAND_CTX *parent; in EVP_RAND_CTX_free()
667 int EVP_RAND_get_state(EVP_RAND_CTX *ctx) in EVP_RAND_get_state()
696 int evp_rand_can_seed(EVP_RAND_CTX *ctx) in evp_rand_can_seed()
717 size_t evp_rand_get_seed(EVP_RAND_CTX *ctx, in evp_rand_get_seed()
[all …]
H A Devp_local.h89 EVP_RAND_CTX *parent; /* Parent EVP_RAND or NULL if none */
/openssl/test/
H A Ddrbgtest.c76 static int state(EVP_RAND_CTX *drbg) in state()
99 static PROV_DRBG *prov_rand(EVP_RAND_CTX *drbg) in DRBG_UINT()
111 static void inc_reseed_counter(EVP_RAND_CTX *drbg) in inc_reseed_counter()
116 static time_t reseed_time(EVP_RAND_CTX *drbg) in reseed_time()
154 static int disable_crngt(EVP_RAND_CTX *drbg) in disable_crngt()
175 EVP_RAND_CTX *primary, in test_drbg_reseed()
176 EVP_RAND_CTX *public, in test_drbg_reseed()
523 EVP_RAND_CTX *primary, *public, *private; in test_rand_fork_safety()
550 EVP_RAND_CTX *primary, *public, *private; in test_rand_reseed()
782 static EVP_RAND_CTX *new_drbg(EVP_RAND_CTX *parent) in new_drbg()
[all …]
H A Drand_test.c20 EVP_RAND_CTX *privctx; in test_rand()
102 EVP_RAND_CTX *crngt = NULL, *parent = NULL; in fips_health_test_one()
H A Dtestutil.h633 const char *name, EVP_RAND_CTX *ctx);
637 void fake_rand_set_callback(EVP_RAND_CTX *ctx,
639 const char *name, EVP_RAND_CTX *ctx));
/openssl/crypto/rand/
H A Drand_lib.c260 EVP_RAND_CTX *drbg; in RAND_seed()
277 EVP_RAND_CTX *drbg; in RAND_add()
311 EVP_RAND_CTX *rand; in RAND_status()
341 EVP_RAND_CTX *rand; in RAND_priv_bytes_ex()
370 EVP_RAND_CTX *rand; in RAND_bytes_ex()
407 EVP_RAND_CTX *seed;
642 EVP_RAND_CTX *ret; in ossl_rand_get0_seed_noncreating()
661 EVP_RAND_CTX *ctx; in rand_new_drbg()
716 EVP_RAND_CTX *ctx; in rand_new_crngt()
747 EVP_RAND_CTX *ret; in RAND_get0_primary()
[all …]
H A Drand_meth.c17 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_add()
34 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_status()
45 EVP_RAND_CTX *drbg = RAND_get0_public(NULL); in drbg_bytes()
H A Dprov_seed.c48 EVP_RAND_CTX *rng = ossl_rand_get0_seed_noncreating(ctx); in ossl_rand_get_user_entropy()
66 EVP_RAND_CTX *rng = ossl_rand_get0_seed_noncreating(ctx); in ossl_rand_cleanup_user_entropy()
106 EVP_RAND_CTX *rng = ossl_rand_get0_seed_noncreating(ctx); in ossl_rand_get_user_nonce()
/openssl/include/openssl/
H A Drand.h82 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx);
83 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx);
84 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx);
85 int RAND_set0_public(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand);
86 int RAND_set0_private(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand);
H A Devp.h1267 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
1268 int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx);
1269 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx);
1270 EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
1276 const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx);
1290 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
1295 int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance,
1299 __owur int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
1301 int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
1302 unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
[all …]
H A Dtypes.h129 typedef struct evp_rand_ctx_st EVP_RAND_CTX; typedef
/openssl/doc/man3/
H A DEVP_RAND.pod25 typedef struct evp_rand_ctx_st EVP_RAND_CTX;
31 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
32 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx);
33 int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx);
34 EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
58 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
66 int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
67 int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
68 unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
69 int EVP_RAND_get_state(EVP_RAND_CTX *ctx);
[all …]
H A DRAND_get0_primary.pod10 - get access to the global EVP_RAND_CTX instances
16 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx);
17 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx);
18 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx);
19 int RAND_set0_public(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand);
20 int RAND_set0_private(OSSL_LIB_CTX *ctx, EVP_RAND_CTX *rand);
/openssl/test/testutil/
H A Dfake_random.c23 EVP_RAND_CTX *ctx;
174 static int check_rng(EVP_RAND_CTX *rng, const char *name) in check_rng()
214 void fake_rand_set_callback(EVP_RAND_CTX *rng, in fake_rand_set_callback()
216 const char *name, EVP_RAND_CTX *ctx)) in fake_rand_set_callback()
226 EVP_RAND_CTX *ctx)) in fake_rand_set_public_private_callbacks()
/openssl/include/crypto/
H A Drand.h139 EVP_RAND_CTX *ossl_rand_get0_private_noncreating(OSSL_LIB_CTX *ctx);
141 EVP_RAND_CTX *ossl_rand_get0_seed_noncreating(OSSL_LIB_CTX *ctx);
H A Devp.h953 int evp_rand_can_seed(EVP_RAND_CTX *ctx);
954 size_t evp_rand_get_seed(EVP_RAND_CTX *ctx,
959 void evp_rand_clear_seed(EVP_RAND_CTX *ctx,
/openssl/doc/man7/
H A DEVP_RAND-SEED-SRC.pod42 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL);
47 EVP_RAND_CTX *seed, *rctx;
H A DEVP_RAND-CTR-DRBG.pod66 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL);
71 EVP_RAND_CTX *rctx;
H A DEVP_RAND-JITTER.pod45 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL);
61 EVP_RAND_CTX *seed, *rctx;
H A DEVP_RAND-HASH-DRBG.pod84 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL);
89 EVP_RAND_CTX *rctx;
H A DEVP_RAND-HMAC-DRBG.pod85 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL);
90 EVP_RAND_CTX *rctx;
H A DEVP_RAND-TEST-RAND.pod79 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, NULL);
84 EVP_RAND_CTX *rctx;
H A DEVP_RAND-CRNG-TEST.pod53 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, parent);
/openssl/providers/fips/
H A Dself_test_kats.c263 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg()
751 static EVP_RAND_CTX *kat_rand = NULL;
752 static EVP_RAND_CTX *main_rand = NULL;
760 EVP_RAND_CTX *parent_rand = NULL; in set_kat_drbg()
883 EVP_RAND_CTX *saved_rand = ossl_rand_get0_private_noncreating(libctx); in SELF_TEST_kats()
H A Dself_test.c312 EVP_RAND_CTX *rng; in SELF_TEST_post()

Completed in 60 milliseconds

12