Home
last modified time | relevance | path

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

1234

/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_random.function33 mbedtls_entropy_func, &entropy,
44 mbedtls_entropy_func, &entropy,
73 mbedtls_entropy_func, &entropy,
84 mbedtls_entropy_func, &entropy,
Dtest_suite_entropy.function203 TEST_EQUAL(mbedtls_entropy_func(&ctx, buf, sizeof(buf)),
252 TEST_ASSERT(mbedtls_entropy_func(&ctx, buf, len) == ret);
287 TEST_ASSERT(mbedtls_entropy_func(&ctx, buf, sizeof(buf))
327 ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf));
353 * if result < 0: result = expected return code from mbedtls_entropy_func()
372 ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf));
480 TEST_ASSERT(mbedtls_entropy_func(&ctx, entropy, sizeof(entropy)) == 0);
/external/mbedtls/tests/suites/
Dtest_suite_random.function35 mbedtls_entropy_func, &entropy,
46 mbedtls_entropy_func, &entropy,
78 mbedtls_entropy_func, &entropy,
89 mbedtls_entropy_func, &entropy,
Dtest_suite_entropy.function207 TEST_EQUAL(mbedtls_entropy_func(&ctx, buf, sizeof(buf)),
258 TEST_ASSERT(mbedtls_entropy_func(&ctx, buf, len) == ret);
296 TEST_ASSERT(mbedtls_entropy_func(&ctx, buf, sizeof(buf))
339 ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf));
366 * if result < 0: result = expected return code from mbedtls_entropy_func()
387 ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf));
498 TEST_ASSERT(mbedtls_entropy_func(&ctx, entropy, sizeof(entropy)) == 0);
/external/mbedtls/library/
Dpsa_crypto_random_impl.h176 mbedtls_entropy_func, in mbedtls_psa_drbg_seed()
184 mbedtls_entropy_func, 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()
/external/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto_random_impl.h176 mbedtls_entropy_func, in mbedtls_psa_drbg_seed()
184 mbedtls_entropy_func, in mbedtls_psa_drbg_seed()
Dentropy.c321 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len) in mbedtls_entropy_func() function
461 if ((ret = mbedtls_entropy_func(ctx, buf, MBEDTLS_ENTROPY_BLOCK_SIZE)) != 0) { in mbedtls_entropy_update_nv_seed()
484 if ((ret = mbedtls_entropy_func(ctx, buf, MBEDTLS_ENTROPY_BLOCK_SIZE)) != 0) { in mbedtls_entropy_write_seed_file()
712 if ((ret = mbedtls_entropy_func(&ctx, buf, sizeof(buf))) != 0) { in mbedtls_entropy_self_test()
/external/openthread/third_party/mbedtls/repo/programs/ssl/
Dssl_test_lib.c52 ret = mbedtls_entropy_func(data, output, len); in dummy_entropy()
101 (reproducible ? dummy_entropy : mbedtls_entropy_func); in rng_seed()
/external/openthread/third_party/mbedtls/repo/programs/random/
Dgen_entropy.c52 ret = mbedtls_entropy_func(&entropy, buf, sizeof(buf)); in main()
Dgen_random_ctr_drbg.c57 mbedtls_entropy_func, in main()
/external/mbedtls/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()
/external/libwebsockets/lib/plat/freertos/
Dfreertos-init.c83 n = mbedtls_ctr_drbg_seed(&context->mcdc, mbedtls_entropy_func, in lws_plat_init()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dentropy.h192 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len);
/external/mbedtls/include/mbedtls/
Dentropy.h185 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len);
/external/mbedtls/programs/pkey/
Dpk_sign.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Dpk_encrypt.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Dpk_decrypt.c80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Drsa_encrypt.c67 ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
/external/libwebsockets/lib/plat/windows/
Dwindows-init.c88 n = mbedtls_ctr_drbg_seed(&context->mcdc, mbedtls_entropy_func, in lws_plat_init()
/external/openthread/third_party/mbedtls/repo/programs/pkey/
Dpk_decrypt.c84 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Dpk_sign.c79 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
Dpk_encrypt.c80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
Drsa_sign_pss.c80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()

1234