Home
last modified time | relevance | path

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

12

/openssl-master/crypto/evp/
A Devp_rand.c92 int EVP_RAND_enable_locking(EVP_RAND_CTX *rand) in EVP_RAND_enable_locking()
101 static int evp_rand_lock(EVP_RAND_CTX *rand) in evp_rand_lock()
109 static void evp_rand_unlock(EVP_RAND_CTX *rand) in evp_rand_unlock()
323 static int evp_rand_ctx_up_ref(EVP_RAND_CTX *ctx) in evp_rand_ctx_up_ref()
330 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent) in EVP_RAND_CTX_new()
332 EVP_RAND_CTX *ctx; in EVP_RAND_CTX_new()
373 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx) in EVP_RAND_CTX_free()
376 EVP_RAND_CTX *parent; in EVP_RAND_CTX_free()
529 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx) in EVP_RAND_uninstantiate()
655 int EVP_RAND_get_state(EVP_RAND_CTX *ctx) in EVP_RAND_get_state()
[all …]
A Devp_local.h88 EVP_RAND_CTX *parent; /* Parent EVP_RAND or NULL if none */
/openssl-master/test/
A Ddrbgtest.c82 static int state(EVP_RAND_CTX *drbg) in state()
105 static PROV_DRBG *prov_rand(EVP_RAND_CTX *drbg) in DRBG_UINT()
117 static void inc_reseed_counter(EVP_RAND_CTX *drbg) in inc_reseed_counter()
122 static time_t reseed_time(EVP_RAND_CTX *drbg) in reseed_time()
152 static int disable_crngt(EVP_RAND_CTX *drbg) in disable_crngt()
173 EVP_RAND_CTX *primary, in test_drbg_reseed()
174 EVP_RAND_CTX *public, in test_drbg_reseed()
521 EVP_RAND_CTX *primary, *public, *private; in test_rand_fork_safety()
548 EVP_RAND_CTX *primary, *public, *private; in test_rand_reseed()
799 static EVP_RAND_CTX *new_drbg(EVP_RAND_CTX *parent) in new_drbg()
[all …]
A Drand_test.c18 EVP_RAND_CTX *privctx; in test_rand()
A Dtestutil.h578 const char *name, EVP_RAND_CTX *ctx);
582 void fake_rand_set_callback(EVP_RAND_CTX *ctx,
584 const char *name, EVP_RAND_CTX *ctx));
A Dsm2_internal_test.c40 ossl_unused EVP_RAND_CTX *ctx) in get_faked_bytes()
A Decdsatest.c36 EVP_RAND_CTX *ctx) in fbytes()
/openssl-master/crypto/rand/
A Drand_lib.c246 EVP_RAND_CTX *drbg; in RAND_seed()
263 EVP_RAND_CTX *drbg; in RAND_add()
291 EVP_RAND_CTX *rand; in RAND_status()
321 EVP_RAND_CTX *rand; in RAND_priv_bytes_ex()
350 EVP_RAND_CTX *rand; in RAND_bytes_ex()
387 EVP_RAND_CTX *seed;
510 EVP_RAND_CTX *rand; in rand_delete_thread_state()
529 EVP_RAND_CTX *ctx; in rand_new_seed()
553 static EVP_RAND_CTX *rand_new_drbg(OSSL_LIB_CTX *libctx, EVP_RAND_CTX *parent, in rand_new_drbg()
559 EVP_RAND_CTX *ctx; in rand_new_drbg()
[all …]
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()
/openssl-master/doc/man3/
A DEVP_RAND.pod5 EVP_RAND, EVP_RAND_fetch, EVP_RAND_free, EVP_RAND_up_ref, EVP_RAND_CTX,
25 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 EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
57 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
65 int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
66 int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
67 unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
68 int EVP_RAND_get_state(EVP_RAND_CTX *ctx);
[all …]
A DRAND_get0_primary.pod8 - get access to the global EVP_RAND_CTX instances
14 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx);
15 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx);
16 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx);
/openssl-master/test/testutil/
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-master/include/openssl/
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);
A Devp.h1250 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
1251 void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx);
1252 EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
1258 const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx);
1259 const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx);
1272 int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
1277 int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance,
1281 __owur int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
1283 int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
1284 unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
[all …]
A Dtypes.h120 typedef struct evp_rand_ctx_st EVP_RAND_CTX; typedef
/openssl-master/doc/man7/
A DEVP_RAND-SEED-SRC.pod42 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand);
47 EVP_RAND_CTX *seed, *rctx;
A DEVP_RAND-HASH-DRBG.pod60 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand);
65 EVP_RAND_CTX *rctx;
A DEVP_RAND-HMAC-DRBG.pod62 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand);
67 EVP_RAND_CTX *rctx;
A DEVP_RAND-CTR-DRBG.pod66 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand);
71 EVP_RAND_CTX *rctx;
A DEVP_RAND-TEST-RAND.pod70 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand);
75 EVP_RAND_CTX *rctx;
A DEVP_RAND.pod70 a pointer to the parent EVP_RAND_CTX as argument to the EVP_RAND_CTX_new() call.
72 It is also possible to use any EVP_RAND_CTX class as the parent, however, only
/openssl-master/crypto/rsa/
A Drsa_sp800_56b_gen.c194 static int rsa_validate_rng_strength(EVP_RAND_CTX *rng, int nbits) in rsa_validate_rng_strength()
/openssl-master/providers/fips/
A Dself_test_kats.c256 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg()
/openssl-master/util/
A Dother.syms53 EVP_RAND_CTX datatype
/openssl-master/apps/
A Dlist.c429 static void display_random(const char *name, EVP_RAND_CTX *drbg) in display_random()

Completed in 38 milliseconds

12