Lines Matching refs:PROV_DRBG
44 static int rand_drbg_restart(PROV_DRBG *drbg);
48 PROV_DRBG *drbg = vctx; in ossl_drbg_lock()
57 PROV_DRBG *drbg = vctx; in ossl_drbg_unlock()
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()
84 static int get_parent_strength(PROV_DRBG *drbg, unsigned int *str) in get_parent_strength()
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()
194 static size_t get_entropy(PROV_DRBG *drbg, unsigned char **pout, int entropy, in get_entropy()
248 static void cleanup_entropy(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in cleanup_entropy()
312 static size_t prov_drbg_get_nonce(PROV_DRBG *drbg, unsigned char **pout, in prov_drbg_get_nonce()
361 int ossl_prov_drbg_instantiate(PROV_DRBG *drbg, unsigned int strength, in ossl_prov_drbg_instantiate()
488 int ossl_prov_drbg_uninstantiate(PROV_DRBG *drbg) in ossl_prov_drbg_uninstantiate()
501 int ossl_prov_drbg_reseed(PROV_DRBG *drbg, int prediction_resistance, in ossl_prov_drbg_reseed()
615 int ossl_prov_drbg_generate(PROV_DRBG *drbg, unsigned char *out, size_t outlen, in ossl_prov_drbg_generate()
711 static int rand_drbg_restart(PROV_DRBG *drbg) in rand_drbg_restart()
740 PROV_DRBG *drbg = vctx; in ossl_drbg_enable_locking()
765 PROV_DRBG *ossl_rand_drbg_new in ossl_rand_drbg_new()
767 int (*dnew)(PROV_DRBG *ctx), in ossl_rand_drbg_new()
768 int (*instantiate)(PROV_DRBG *drbg, in ossl_rand_drbg_new()
772 int (*uninstantiate)(PROV_DRBG *ctx), in ossl_rand_drbg_new()
773 int (*reseed)(PROV_DRBG *drbg, const unsigned char *ent, size_t ent_len, in ossl_rand_drbg_new()
775 int (*generate)(PROV_DRBG *, unsigned char *out, size_t outlen, in ossl_rand_drbg_new() argument
778 PROV_DRBG *drbg; in ossl_rand_drbg_new()
851 void ossl_rand_drbg_free(PROV_DRBG *drbg) in ossl_rand_drbg_free()
860 int ossl_drbg_get_ctx_params(PROV_DRBG *drbg, OSSL_PARAM params[]) in ossl_drbg_get_ctx_params()
919 int ossl_drbg_set_ctx_params(PROV_DRBG *drbg, const OSSL_PARAM params[]) in ossl_drbg_set_ctx_params()