Searched refs:vrng (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/fuzz/ |
H A D | fuzz_rand.c | 35 static void fuzz_rand_freectx(ossl_unused void *vrng) in fuzz_rand_freectx() argument 37 OPENSSL_free(vrng); in fuzz_rand_freectx() 40 static int fuzz_rand_instantiate(ossl_unused void *vrng, in fuzz_rand_instantiate() argument 47 *(int *)vrng = EVP_RAND_STATE_READY; in fuzz_rand_instantiate() 51 static int fuzz_rand_uninstantiate(ossl_unused void *vrng) in fuzz_rand_uninstantiate() argument 53 *(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() argument 77 static int fuzz_rand_get_ctx_params(void *vrng, OSSL_PARAM params[]) in fuzz_rand_get_ctx_params() argument 82 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
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | fake_random.c | 45 static void fake_rand_freectx(void *vrng) in fake_rand_freectx() argument 47 OPENSSL_free(vrng); in fake_rand_freectx() 50 static int fake_rand_instantiate(void *vrng, ossl_unused unsigned int strength, in fake_rand_instantiate() argument 56 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_instantiate() 62 static int fake_rand_uninstantiate(void *vrng) in fake_rand_uninstantiate() argument 64 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() argument 74 FAKE_RAND *frng = (FAKE_RAND *)vrng; in fake_rand_generate() 91 static int fake_rand_enable_locking(void *vrng) in fake_rand_enable_locking() argument 96 static int fake_rand_get_ctx_params(ossl_unused void *vrng, OSSL_PARAM params[]) in fake_rand_get_ctx_params() argument [all …]
|