Home
last modified time | relevance | path

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

/openssl/providers/implementations/rands/
H A Dfips_crng_test.c191 const OSSL_DISPATCH *pfunc; in crng_test_new() local
203 crngt->parent_enable_locking = OSSL_FUNC_rand_enable_locking(pfunc); in crng_test_new()
204 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_LOCK)) != NULL) in crng_test_new()
205 crngt->parent_lock = OSSL_FUNC_rand_lock(pfunc); in crng_test_new()
206 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_UNLOCK)) != NULL) in crng_test_new()
207 crngt->parent_unlock = OSSL_FUNC_rand_unlock(pfunc); in crng_test_new()
211 crngt->parent_get_ctx_params = OSSL_FUNC_rand_get_ctx_params(pfunc); in crng_test_new()
212 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_GET_SEED)) != NULL) in crng_test_new()
213 crngt->parent_get_seed = OSSL_FUNC_rand_get_seed(pfunc); in crng_test_new()
214 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_CLEAR_SEED)) != NULL) in crng_test_new()
[all …]
H A Ddrbg.c798 const OSSL_DISPATCH *pfunc; in ossl_rand_drbg_new() local
817 drbg->parent_enable_locking = OSSL_FUNC_rand_enable_locking(pfunc); in ossl_rand_drbg_new()
818 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_LOCK)) != NULL) in ossl_rand_drbg_new()
819 drbg->parent_lock = OSSL_FUNC_rand_lock(pfunc); in ossl_rand_drbg_new()
820 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_UNLOCK)) != NULL) in ossl_rand_drbg_new()
821 drbg->parent_unlock = OSSL_FUNC_rand_unlock(pfunc); in ossl_rand_drbg_new()
824 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_NONCE)) != NULL) in ossl_rand_drbg_new()
825 drbg->parent_nonce = OSSL_FUNC_rand_nonce(pfunc); in ossl_rand_drbg_new()
826 if ((pfunc = find_call(p_dispatch, OSSL_FUNC_RAND_GET_SEED)) != NULL) in ossl_rand_drbg_new()
827 drbg->parent_get_seed = OSSL_FUNC_rand_get_seed(pfunc); in ossl_rand_drbg_new()
[all …]

Completed in 11 milliseconds