Lines Matching refs:parent

65     void *parent = drbg->parent;  in ossl_drbg_lock_parent()  local
67 if (parent != NULL in ossl_drbg_lock_parent()
69 && !drbg->parent_lock(parent)) { in ossl_drbg_lock_parent()
78 void *parent = drbg->parent; in ossl_drbg_unlock_parent() local
80 if (parent != NULL && drbg->parent_unlock != NULL) in ossl_drbg_unlock_parent()
81 drbg->parent_unlock(parent); in ossl_drbg_unlock_parent()
87 void *parent = drbg->parent; in get_parent_strength() local
100 res = drbg->parent_get_ctx_params(parent, params); in get_parent_strength()
112 void *parent = drbg->parent; in get_parent_reseed_count() local
120 if (!drbg->parent_get_ctx_params(parent, params)) in get_parent_reseed_count()
199 if (drbg->parent == NULL) in get_entropy()
238 bytes = drbg->parent_get_seed(drbg->parent, pout, drbg->strength, in get_entropy()
247 if (drbg->parent == NULL) { in cleanup_entropy()
252 drbg->parent_clear_seed(drbg->parent, out, outlen); in cleanup_entropy()
315 if (drbg->parent != NULL && drbg->parent_nonce != NULL) { in prov_drbg_get_nonce()
316 n = drbg->parent_nonce(drbg->parent, NULL, 0, drbg->min_noncelen, in prov_drbg_get_nonce()
319 ret = drbg->parent_nonce(drbg->parent, buf, 0, in prov_drbg_get_nonce()
385 noncelen = drbg->parent_nonce(drbg->parent, NULL, drbg->strength, in ossl_prov_drbg_instantiate()
397 if (noncelen != drbg->parent_nonce(drbg->parent, nonce, in ossl_prov_drbg_instantiate()
405 } else if (drbg->parent != NULL) { in ossl_prov_drbg_instantiate()
578 if (drbg->parent != NULL) in ossl_prov_drbg_reseed_unlocked()
681 if (drbg->parent != NULL in ossl_prov_drbg_generate()
761 if (!drbg->parent_enable_locking(drbg->parent)) { in ossl_drbg_enable_locking()
783 (void *provctx, void *parent, const OSSL_DISPATCH *p_dispatch, in ossl_rand_drbg_new() argument
815 drbg->parent = parent; in ossl_rand_drbg_new()
844 if (parent != NULL) { in ossl_rand_drbg_new()