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.c654 static EVP_RAND_CTX *main_rand = NULL; variable
715 if (!EVP_RAND_CTX_up_ref(main_rand)) in set_kat_drbg()
723 RAND_set0_private(ctx, main_rand); in set_kat_drbg()
736 if (!RAND_set0_private(ctx, main_rand)) in reset_main_drbg()
760 main_rand = EVP_RAND_CTX_new(rand, NULL); in setup_main_random()
762 if (main_rand == NULL) in setup_main_random()
770 if (!EVP_RAND_instantiate(main_rand, strength, 0, NULL, 0, drbg_params)) in setup_main_random()
774 EVP_RAND_CTX_free(main_rand); in setup_main_random()
791 || !RAND_set0_private(libctx, main_rand)) { in SELF_TEST_kats()
794 EVP_RAND_CTX_free(main_rand); in SELF_TEST_kats()

Completed in 5 milliseconds