Searched refs:PROV_DRBG (Results 1 – 6 of 6) sorted by relevance
/openssl/providers/implementations/rands/ |
H A D | drbg_local.h | 57 typedef struct prov_drbg_st PROV_DRBG; typedef 74 int (*instantiate)(PROV_DRBG *drbg, 78 int (*uninstantiate)(PROV_DRBG *ctx); 177 PROV_DRBG *ossl_rand_drbg_new 179 int (*dnew)(PROV_DRBG *ctx), 181 int (*instantiate)(PROV_DRBG *drbg, 185 int (*uninstantiate)(PROV_DRBG *ctx), 190 void ossl_rand_drbg_free(PROV_DRBG *drbg); 196 int ossl_prov_drbg_uninstantiate(PROV_DRBG *drbg); 251 size_t ossl_crngt_get_entropy(PROV_DRBG *drbg, [all …]
|
H A D | drbg_hash.c | 274 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_instantiate_wrapper() 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() 367 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_generate_wrapper() 385 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_uninstantiate_wrapper() 401 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_verify_zeroization() 419 static int drbg_hash_new(PROV_DRBG *ctx) in drbg_hash_new() 452 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_free() 465 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hash_get_ctx_params() 509 PROV_DRBG *ctx = (PROV_DRBG *)vctx; in drbg_hash_set_ctx_params_locked() [all …]
|
H A D | drbg_hmac.c | 147 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_instantiate_wrapper() 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() 261 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_generate_wrapper() 278 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_uninstantiate_wrapper() 294 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_verify_zeroization() 311 static int drbg_hmac_new(PROV_DRBG *drbg) in drbg_hmac_new() 344 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_free() 357 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_hmac_get_ctx_params() 412 PROV_DRBG *ctx = (PROV_DRBG *)vctx; in drbg_hmac_set_ctx_params_locked() [all …]
|
H A D | drbg.c | 45 static int rand_drbg_restart(PROV_DRBG *drbg); 63 static int ossl_drbg_lock_parent(PROV_DRBG *drbg) in ossl_drbg_lock_parent() 149 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in ossl_drbg_get_seed() 728 static int rand_drbg_restart(PROV_DRBG *drbg) in rand_drbg_restart() 757 PROV_DRBG *drbg = vctx; in ossl_drbg_enable_locking() 782 PROV_DRBG *ossl_rand_drbg_new in ossl_rand_drbg_new() 784 int (*dnew)(PROV_DRBG *ctx), in ossl_rand_drbg_new() 786 int (*instantiate)(PROV_DRBG *drbg, in ossl_rand_drbg_new() 790 int (*uninstantiate)(PROV_DRBG *ctx), in ossl_rand_drbg_new() 796 PROV_DRBG *drbg; in ossl_rand_drbg_new() [all …]
|
H A D | drbg_ctr.c | 334 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_instantiate_wrapper() 370 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_reseed_wrapper() 467 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_generate_wrapper() 487 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_uninstantiate_wrapper() 503 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_verify_zeroization() 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() 660 PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; in drbg_ctr_get_ctx_params() 709 PROV_DRBG *ctx = (PROV_DRBG *)vctx; in drbg_ctr_set_ctx_params_locked() [all …]
|
/openssl/test/ |
H A D | drbgtest.c | 99 static PROV_DRBG *prov_rand(EVP_RAND_CTX *drbg) in DRBG_UINT() 101 return (PROV_DRBG *)drbg->algctx; in DRBG_UINT() 106 PROV_DRBG *p = prov_rand(drbg); in set_reseed_counter()
|
Completed in 20 milliseconds