Searched refs:drbg (Results 1 – 5 of 5) sorted by relevance
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_random.function | 25 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/ |
D | ssl_test_lib.c | 73 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()
|
D | ssl_test_lib.h | 144 mbedtls_ctr_drbg_context drbg; 146 mbedtls_hmac_drbg_context drbg;
|
/mbedtls-3.6.0/library/ |
D | psa_crypto_random_impl.h | 111 mbedtls_psa_drbg_context_t drbg; member
|
D | psa_crypto.c | 111 &global_data.rng.drbg;
|