Home
last modified time | relevance | path

Searched refs:mbedtls_entropy_func (Results 1 – 25 of 37) sorted by relevance

12

/openthread-3.7.0/third_party/mbedtls/repo/library/
Dpsa_crypto_random_impl.h126 return mbedtls_ctr_drbg_seed(drbg_ctx, mbedtls_entropy_func, entropy, custom, len); in mbedtls_psa_drbg_seed()
129 return mbedtls_hmac_drbg_seed(drbg_ctx, md_info, mbedtls_entropy_func, entropy, custom, len); in mbedtls_psa_drbg_seed()
Dentropy.c266 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len) in mbedtls_entropy_func() function
385 if ((ret = mbedtls_entropy_func(ctx, buf, MBEDTLS_ENTROPY_BLOCK_SIZE)) != 0) { in mbedtls_entropy_update_nv_seed()
408 if ((ret = mbedtls_entropy_func(ctx, buf, MBEDTLS_ENTROPY_BLOCK_SIZE)) != 0) { in mbedtls_entropy_write_seed_file()
637 if ((ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf))) != 0) { in mbedtls_entropy_self_test()
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_random.function40 mbedtls_entropy_func, &entropy,
51 mbedtls_entropy_func, &entropy,
87 mbedtls_entropy_func, &entropy,
98 mbedtls_entropy_func, &entropy,
Dtest_suite_entropy.function209 TEST_EQUAL(mbedtls_entropy_func(&ctx, buf, sizeof(buf)),
260 TEST_ASSERT(mbedtls_entropy_func(&ctx, buf, len) == ret);
298 TEST_ASSERT(mbedtls_entropy_func(&ctx, buf, sizeof(buf))
341 ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf));
368 * if result < 0: result = expected return code from mbedtls_entropy_func()
389 ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf));
500 TEST_ASSERT(mbedtls_entropy_func(&ctx, entropy, sizeof(entropy)) == 0);
/openthread-3.7.0/third_party/mbedtls/repo/programs/random/
Dgen_entropy.c48 ret = mbedtls_entropy_func(&entropy, buf, sizeof(buf)); in main()
Dgen_random_ctr_drbg.c53 mbedtls_entropy_func, in main()
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dentropy.h185 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len);
/openthread-3.7.0/third_party/mbedtls/repo/programs/pkey/
Dpk_decrypt.c80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Dpk_encrypt.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Dpk_sign.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Drsa_encrypt.c67 ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Drsa_sign_pss.c77 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Ddh_genprime.c95 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Decdh_curve25519.c62 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Drsa_genkey.c62 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Decdsa.c117 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Drsa_decrypt.c74 ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Ddh_client.c91 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Ddh_server.c87 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
/openthread-3.7.0/third_party/mbedtls/repo/programs/ssl/
Dmini_client.c176 if (mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Dssl_test_lib.c55 ret = mbedtls_entropy_func(data, output, len); in dummy_entropy()
104 (reproducible ? dummy_entropy : mbedtls_entropy_func); in rng_seed()
Dssl_client1.c97 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Ddtls_client.c115 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Dssl_fork_server.c113 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Dssl_server.c115 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()

12