Searched refs:vrng (Results 1 – 2 of 2) sorted by relevance
35 static void fuzz_rand_freectx(ossl_unused void *vrng) in fuzz_rand_freectx() argument37 OPENSSL_free(vrng); in fuzz_rand_freectx()40 static int fuzz_rand_instantiate(ossl_unused void *vrng, in fuzz_rand_instantiate() argument47 *(int *)vrng = EVP_RAND_STATE_READY; in fuzz_rand_instantiate()51 static int fuzz_rand_uninstantiate(ossl_unused void *vrng) in fuzz_rand_uninstantiate() argument53 *(int *)vrng = EVP_RAND_STATE_UNINITIALISED; in fuzz_rand_uninstantiate()72 static int fuzz_rand_enable_locking(ossl_unused void *vrng) in fuzz_rand_enable_locking() argument77 static int fuzz_rand_get_ctx_params(void *vrng, OSSL_PARAM params[]) in fuzz_rand_get_ctx_params() argument82 if (p != NULL && !OSSL_PARAM_set_int(p, *(int *)vrng)) in fuzz_rand_get_ctx_params()95 static const OSSL_PARAM *fuzz_rand_gettable_ctx_params(ossl_unused void *vrng, in fuzz_rand_gettable_ctx_params() argument
45 static void fake_rand_freectx(void *vrng) in fake_rand_freectx() argument47 OPENSSL_free(vrng); in fake_rand_freectx()50 static int fake_rand_instantiate(void *vrng, ossl_unused unsigned int strength, in fake_rand_instantiate() argument56 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_instantiate()62 static int fake_rand_uninstantiate(void *vrng) in fake_rand_uninstantiate() argument64 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_uninstantiate()70 static int fake_rand_generate(void *vrng, unsigned char *out, size_t outlen, in fake_rand_generate() argument74 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_generate()91 static int fake_rand_enable_locking(void *vrng) in fake_rand_enable_locking() argument98 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_get_ctx_params()[all …]