Home
last modified time | relevance | path

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

/third_party/openssl/test/testutil/
Dfake_random.c56 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_instantiate() local
58 frng->state = EVP_RAND_STATE_READY; in fake_rand_instantiate()
64 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_uninstantiate() local
66 frng->state = EVP_RAND_STATE_UNINITIALISED; in fake_rand_uninstantiate()
74 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_generate() local
78 if (frng->cb != NULL) in fake_rand_generate()
79 return (*frng->cb)(out, outlen, frng->name, frng->ctx); in fake_rand_generate()
98 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_get_ctx_params() local
102 if (p != NULL && !OSSL_PARAM_set_int(p, frng->state)) in fake_rand_get_ctx_params()