Lines Matching defs:parent
65 void *parent = drbg->parent;
67 if (parent != NULL
69 && !drbg->parent_lock(parent)) {
78 void *parent = drbg->parent;
80 if (parent != NULL && drbg->parent_unlock != NULL)
81 drbg->parent_unlock(parent);
87 void *parent = drbg->parent;
100 res = drbg->parent_get_ctx_params(parent, params);
112 void *parent = drbg->parent;
120 if (!drbg->parent_get_ctx_params(parent, params))
135 * If the DRBG has a parent, then the required amount of entropy input
136 * is fetched using the parent's ossl_prov_drbg_generate().
201 if (drbg->parent == NULL)
226 * Our lock is already held, but we need to lock our parent before
228 * if locking is not required (while drbg->parent->lock == NULL).
233 * Get random data from parent. Include our DRBG address as
241 bytes = drbg->parent_get_seed(drbg->parent, pout, drbg->strength,
250 if (drbg->parent == NULL) {
259 drbg->parent_clear_seed(drbg->parent, out, outlen);
329 if (drbg->parent != NULL && drbg->parent_nonce != NULL) {
330 n = drbg->parent_nonce(drbg->parent, NULL, 0, drbg->min_noncelen,
333 ret = drbg->parent_nonce(drbg->parent, buf, 0,
398 noncelen = drbg->parent_nonce(drbg->parent, NULL, drbg->strength,
410 if (noncelen != drbg->parent_nonce(drbg->parent, nonce,
418 } else if (drbg->parent != NULL) {
432 else { /* parent == NULL */
595 if (drbg->parent != NULL)
669 if (drbg->parent != NULL
744 if (!drbg->parent_enable_locking(drbg->parent)) {
760 * The |parent|, if not NULL, will be used as random source for reseeding.
761 * This also requires the parent's provider context and the parent's lock.
766 (void *provctx, void *parent, const OSSL_DISPATCH *p_dispatch,
798 /* Extract parent's functions */
799 drbg->parent = parent;
828 if (parent != NULL) {