/openssl-master/crypto/evp/ |
A D | evp_rand.c | 92 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 D | evp_local.h | 88 EVP_RAND_CTX *parent; /* Parent EVP_RAND or NULL if none */
|
/openssl-master/test/ |
A D | drbgtest.c | 82 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 D | rand_test.c | 18 EVP_RAND_CTX *privctx; in test_rand()
|
A D | testutil.h | 578 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 D | sm2_internal_test.c | 40 ossl_unused EVP_RAND_CTX *ctx) in get_faked_bytes()
|
A D | ecdsatest.c | 36 EVP_RAND_CTX *ctx) in fbytes()
|
/openssl-master/crypto/rand/ |
A D | rand_lib.c | 246 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 D | rand_meth.c | 17 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 D | EVP_RAND.pod | 5 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 D | RAND_get0_primary.pod | 8 - 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 D | fake_random.c | 23 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 D | rand.h | 82 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 D | evp.h | 1250 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 D | types.h | 120 typedef struct evp_rand_ctx_st EVP_RAND_CTX; typedef
|
/openssl-master/doc/man7/ |
A D | EVP_RAND-SEED-SRC.pod | 42 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); 47 EVP_RAND_CTX *seed, *rctx;
|
A D | EVP_RAND-HASH-DRBG.pod | 60 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); 65 EVP_RAND_CTX *rctx;
|
A D | EVP_RAND-HMAC-DRBG.pod | 62 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); 67 EVP_RAND_CTX *rctx;
|
A D | EVP_RAND-CTR-DRBG.pod | 66 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); 71 EVP_RAND_CTX *rctx;
|
A D | EVP_RAND-TEST-RAND.pod | 70 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand); 75 EVP_RAND_CTX *rctx;
|
A D | EVP_RAND.pod | 70 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 D | rsa_sp800_56b_gen.c | 194 static int rsa_validate_rng_strength(EVP_RAND_CTX *rng, int nbits) in rsa_validate_rng_strength()
|
/openssl-master/providers/fips/ |
A D | self_test_kats.c | 256 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg()
|
/openssl-master/util/ |
A D | other.syms | 53 EVP_RAND_CTX datatype
|
/openssl-master/apps/ |
A D | list.c | 429 static void display_random(const char *name, EVP_RAND_CTX *drbg) in display_random()
|