Home
last modified time | relevance | path

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

/openssl/providers/implementations/rands/
H A Dfips_crng_test.c125 crngt->rct.b = 1; in RCT_test()
166 if (!RCT_test(crngt, buf[i]) || !APT_test(crngt, buf[i])) { in crng_test()
190 CRNG_TEST *crngt = OPENSSL_zalloc(sizeof(*crngt)); in crng_test_new() local
218 return crngt; in crng_test_new()
308 n = crngt->parent_get_seed(crngt->parent, pout, entropy, in crng_test_get_seed()
314 crngt->parent_clear_seed(crngt->parent, *pout, n); in crng_test_get_seed()
324 if (crngt->parent == NULL || crngt->parent_get_seed == NULL) in crng_test_clear_seed()
327 crngt->parent_clear_seed(crngt->parent, out, outlen); in crng_test_clear_seed()
334 if (crngt != NULL && crngt->lock == NULL) { in crng_test_enable_locking()
336 if (!crngt->parent_enable_locking(crngt->parent)) { in crng_test_enable_locking()
[all …]
/openssl/test/
H A Drand_test.c102 EVP_RAND_CTX *crngt = NULL, *parent = NULL; in fips_health_test_one() local
114 || !TEST_ptr(crngt = EVP_RAND_CTX_new(crngt_alg, parent)) in fips_health_test_one()
117 || !TEST_true(EVP_RAND_instantiate(crngt, 0, 0, in fips_health_test_one()
125 if (!TEST_true(EVP_RAND_CTX_get_params(crngt, p)) in fips_health_test_one()
130 res = EVP_RAND_generate(crngt, out, gen, 0, 0, NULL, 0); in fips_health_test_one()
133 EVP_RAND_CTX_free(crngt); in fips_health_test_one()
/openssl/providers/
H A Dfips.module.sources652 providers/implementations/rands/crngt.c
H A Dfips-sources.checksums652 …4f99b02db045f2ccecc8782322e876dad07a3c169bdb24168b6b1f8cbd providers/implementations/rands/crngt.c

Completed in 9 milliseconds