Home
last modified time | relevance | path

Searched refs:main_rand (Results 1 – 1 of 1) sorted by relevance

/openssl/providers/fips/
H A Dself_test_kats.c750 static EVP_RAND_CTX *main_rand = NULL; variable
811 if (!EVP_RAND_CTX_up_ref(main_rand)) in set_kat_drbg()
819 RAND_set0_private(ctx, main_rand); in set_kat_drbg()
832 if (!RAND_set0_private(ctx, main_rand)) in reset_main_drbg()
856 main_rand = EVP_RAND_CTX_new(rand, NULL); in setup_main_random()
858 if (main_rand == NULL) in setup_main_random()
866 if (!EVP_RAND_instantiate(main_rand, strength, 0, NULL, 0, drbg_params)) in setup_main_random()
870 EVP_RAND_CTX_free(main_rand); in setup_main_random()
887 || !RAND_set0_private(libctx, main_rand)) { in SELF_TEST_kats()
890 EVP_RAND_CTX_free(main_rand); in SELF_TEST_kats()

Completed in 8 milliseconds