Home
last modified time | relevance | path

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

/mbedtls-3.6.0/tests/suites/
Dtest_suite_random.function25 mbedtls_ctr_drbg_context drbg;
33 mbedtls_ctr_drbg_init(&drbg);
34 TEST_EQUAL(0, mbedtls_ctr_drbg_seed(&drbg,
37 TEST_EQUAL(0, mbedtls_ctr_drbg_random(&drbg,
39 mbedtls_ctr_drbg_free(&drbg);
44 mbedtls_ctr_drbg_init(&drbg);
45 TEST_EQUAL(0, mbedtls_ctr_drbg_seed(&drbg,
48 TEST_EQUAL(0, mbedtls_ctr_drbg_random(&drbg,
50 mbedtls_ctr_drbg_free(&drbg);
57 mbedtls_ctr_drbg_free(&drbg);
[all …]
/mbedtls-3.6.0/programs/ssl/
Dssl_test_lib.c73 mbedtls_ctr_drbg_init(&rng->drbg); in rng_init()
75 mbedtls_hmac_drbg_init(&rng->drbg); in rng_init()
112 int ret = mbedtls_ctr_drbg_seed(&rng->drbg, in rng_seed()
124 int ret = mbedtls_hmac_drbg_seed(&rng->drbg, in rng_seed()
154 mbedtls_ctr_drbg_free(&rng->drbg); in rng_free()
156 mbedtls_hmac_drbg_free(&rng->drbg); in rng_free()
175 return mbedtls_ctr_drbg_random(&rng->drbg, output, output_len); in rng_get()
177 return mbedtls_hmac_drbg_random(&rng->drbg, output, output_len); in rng_get()
Dssl_test_lib.h144 mbedtls_ctr_drbg_context drbg;
146 mbedtls_hmac_drbg_context drbg;
/mbedtls-3.6.0/library/
Dpsa_crypto_random_impl.h111 mbedtls_psa_drbg_context_t drbg; member
Dpsa_crypto.c111 &global_data.rng.drbg;