Lines Matching defs:drbg
256 EVP_RAND_CTX *test = NULL, *drbg = NULL;
283 drbg = EVP_RAND_CTX_new(rand, test);
285 if (drbg == NULL)
288 strength = EVP_RAND_get_strength(drbg);
295 if (!EVP_RAND_CTX_set_params(drbg, drbg_params))
307 if (!EVP_RAND_instantiate(drbg, strength, 0, t->persstr, t->persstrlen,
318 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength,
334 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength,
344 if (!EVP_RAND_uninstantiate(drbg))
350 if (!EVP_RAND_verify_zeroization(drbg))
355 EVP_RAND_CTX_free(drbg);