Lines Matching refs:strength
264 unsigned int strength = 256; in self_test_drbg() local
282 &strength); in self_test_drbg()
295 strength = EVP_RAND_get_strength(drbg); in self_test_drbg()
312 if (!EVP_RAND_instantiate(test, strength, 0, NULL, 0, drbg_params)) in self_test_drbg()
314 if (!EVP_RAND_instantiate(drbg, strength, 0, t->persstr, t->persstrlen, in self_test_drbg()
325 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg()
341 if (!EVP_RAND_generate(drbg, out, t->expectedlen, strength, in self_test_drbg()
661 unsigned int strength = 256; in set_kat_drbg() local
681 &strength); in set_kat_drbg()
705 if (!EVP_RAND_instantiate(parent_rand, strength, 0, NULL, 0, drbg_params)) in set_kat_drbg()
711 if (!EVP_RAND_instantiate(kat_rand, strength, 0, persstr, persstr_len, NULL)) in set_kat_drbg()
753 unsigned int strength = 256, generate = 1; in setup_main_random() local
768 &strength); in setup_main_random()
770 if (!EVP_RAND_instantiate(main_rand, strength, 0, NULL, 0, drbg_params)) in setup_main_random()