Searched defs:drbg (Results 1 – 11 of 11) sorted by relevance
/openssl/providers/implementations/rands/ |
H A D | drbg.c | 63 static int ossl_drbg_lock_parent(PROV_DRBG *drbg) in ossl_drbg_lock_parent() 76 static void ossl_drbg_unlock_parent(PROV_DRBG *drbg) in ossl_drbg_unlock_parent() 109 static unsigned int get_parent_reseed_count(PROV_DRBG *drbg) in get_parent_reseed_count() 149 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in ossl_drbg_get_seed() local 308 void *drbg; in prov_drbg_get_nonce() member 475 int ossl_prov_drbg_uninstantiate(PROV_DRBG *drbg) in ossl_prov_drbg_uninstantiate() 728 static int rand_drbg_restart(PROV_DRBG *drbg) in rand_drbg_restart() 757 PROV_DRBG *drbg = vctx; in ossl_drbg_enable_locking() local 786 int (*instantiate)(PROV_DRBG *drbg, in ossl_rand_drbg_new() 796 PROV_DRBG *drbg; in ossl_rand_drbg_new() local [all …]
|
H A D | drbg_hash.c | 250 static int drbg_hash_instantiate(PROV_DRBG *drbg, in drbg_hash_instantiate() 274 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_instantiate_wrapper() local 299 static int drbg_hash_reseed(PROV_DRBG *drbg, in drbg_hash_reseed() 319 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_reseed_wrapper() local 334 static int drbg_hash_generate(PROV_DRBG *drbg, in drbg_hash_generate() 367 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_generate_wrapper() local 385 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_uninstantiate_wrapper() local 401 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_verify_zeroization() local 452 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_free() local 465 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_get_ctx_params() local [all …]
|
H A D | drbg_hmac.c | 147 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_instantiate_wrapper() local 175 static int drbg_hmac_reseed(PROV_DRBG *drbg, in drbg_hmac_reseed() 189 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_reseed_wrapper() local 249 static int drbg_hmac_generate(PROV_DRBG *drbg, in drbg_hmac_generate() 261 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_generate_wrapper() local 278 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_uninstantiate_wrapper() local 294 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_verify_zeroization() local 311 static int drbg_hmac_new(PROV_DRBG *drbg) in drbg_hmac_new() 344 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_free() local 357 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_get_ctx_params() local [all …]
|
H A D | drbg_ctr.c | 334 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_instantiate_wrapper() local 351 static int drbg_ctr_reseed(PROV_DRBG *drbg, in drbg_ctr_reseed() 370 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_reseed_wrapper() local 467 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_generate_wrapper() local 487 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_uninstantiate_wrapper() local 503 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_verify_zeroization() local 557 static int drbg_ctr_init(PROV_DRBG *drbg) in drbg_ctr_init() 618 static int drbg_ctr_new(PROV_DRBG *drbg) in drbg_ctr_new() 643 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_free() local 660 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_get_ctx_params() local [all …]
|
/openssl/crypto/rand/ |
H A D | rand_meth.c | 17 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_add() local 34 EVP_RAND_CTX *drbg = RAND_get0_primary(NULL); in drbg_status() local 45 EVP_RAND_CTX *drbg = RAND_get0_public(NULL); in drbg_bytes() local
|
H A D | rand_lib.c | 260 EVP_RAND_CTX *drbg; in RAND_seed() local 277 EVP_RAND_CTX *drbg; in RAND_add() local 988 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, in RAND_set_DRBG_type()
|
/openssl/test/ |
H A D | drbgtest.c | 42 static int gen_bytes(EVP_RAND_CTX *drbg, unsigned char *buf, int num) in gen_bytes() 76 static int state(EVP_RAND_CTX *drbg) in state() 81 static unsigned int query_rand_uint(EVP_RAND_CTX *drbg, const char *name) in query_rand_uint() 104 static void set_reseed_counter(EVP_RAND_CTX *drbg, unsigned int n) in set_reseed_counter() 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() 670 static int set_reseed_time_interval(EVP_RAND_CTX *drbg, int t) in set_reseed_time_interval() 786 EVP_RAND_CTX *drbg = NULL; in new_drbg() local
|
/openssl/providers/implementations/kdfs/ |
H A D | hmacdrbg_kdf.c | 59 PROV_DRBG_HMAC *drbg = &ctx->base; in hmac_drbg_kdf_reset() local 120 PROV_DRBG_HMAC *drbg = &ctx->base; in hmac_drbg_kdf_derive() local 142 PROV_DRBG_HMAC *drbg = &hmac->base; in hmac_drbg_kdf_get_ctx_params() local 180 PROV_DRBG_HMAC *drbg = &hmac->base; in hmac_drbg_kdf_set_ctx_params() local
|
/openssl/crypto/ |
H A D | context.c | 31 void *drbg; member
|
/openssl/providers/fips/ |
H A D | self_test_kats.c | 263 EVP_RAND_CTX *test = NULL, *drbg = NULL; in self_test_drbg() local
|
/openssl/apps/ |
H A D | list.c | 432 static void display_random(const char *name, EVP_RAND_CTX *drbg) in display_random()
|
Completed in 35 milliseconds