Lines Matching refs:entropylen
353 size_t noncelen = 0, entropylen = 0; in ossl_prov_drbg_instantiate() local
438 entropylen = get_entropy(drbg, &entropy, min_entropy, in ossl_prov_drbg_instantiate()
441 if (entropylen < min_entropylen in ossl_prov_drbg_instantiate()
442 || entropylen > max_entropylen) { in ossl_prov_drbg_instantiate()
447 if (!drbg->instantiate(drbg, entropy, entropylen, nonce, noncelen, in ossl_prov_drbg_instantiate()
449 cleanup_entropy(drbg, entropy, entropylen); in ossl_prov_drbg_instantiate()
453 cleanup_entropy(drbg, entropy, entropylen); in ossl_prov_drbg_instantiate()
489 size_t entropylen = 0; in ossl_prov_drbg_reseed_unlocked() local
562 entropylen = get_entropy(drbg, &entropy, drbg->strength, in ossl_prov_drbg_reseed_unlocked()
565 if (entropylen < drbg->min_entropylen in ossl_prov_drbg_reseed_unlocked()
566 || entropylen > drbg->max_entropylen) { in ossl_prov_drbg_reseed_unlocked()
571 if (!drbg->reseed(drbg, entropy, entropylen, adin, adinlen)) in ossl_prov_drbg_reseed_unlocked()
582 cleanup_entropy(drbg, entropy, entropylen); in ossl_prov_drbg_reseed_unlocked()
787 const unsigned char *entropy, size_t entropylen, in ossl_rand_drbg_new() argument