Lines Matching refs:noncelen
371 size_t noncelen = 0, entropylen = 0; in ossl_prov_drbg_instantiate() local
403 noncelen = drbg->parent_nonce(drbg->parent, NULL, drbg->strength, in ossl_prov_drbg_instantiate()
406 if (noncelen == 0) { in ossl_prov_drbg_instantiate()
410 nonce = OPENSSL_malloc(noncelen); in ossl_prov_drbg_instantiate()
415 if (noncelen != drbg->parent_nonce(drbg->parent, nonce, in ossl_prov_drbg_instantiate()
438 noncelen = prov_drbg_get_nonce(drbg, &nonce, drbg->min_noncelen, in ossl_prov_drbg_instantiate()
440 if (noncelen < drbg->min_noncelen in ossl_prov_drbg_instantiate()
441 || noncelen > drbg->max_noncelen) { in ossl_prov_drbg_instantiate()
465 if (!drbg->instantiate(drbg, entropy, entropylen, nonce, noncelen, in ossl_prov_drbg_instantiate()
480 ossl_prov_cleanup_nonce(drbg->provctx, nonce, noncelen); in ossl_prov_drbg_instantiate()
776 const unsigned char *nonce, size_t noncelen, in ossl_rand_drbg_new() argument