Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/mbedtls/tests/suites/
H A 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);
H A Dtest_suite_random.function35 mbedtls_entropy_func, &entropy,
46 mbedtls_entropy_func, &entropy,
78 mbedtls_entropy_func, &entropy,
89 mbedtls_entropy_func, &entropy,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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);
H A Dtest_suite_random.function40 mbedtls_entropy_func, &entropy,
51 mbedtls_entropy_func, &entropy,
87 mbedtls_entropy_func, &entropy,
98 mbedtls_entropy_func, &entropy,
/aosp_15_r20/external/mbedtls/library/
H A 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()
H A Dpsa_crypto_random_impl.h176 mbedtls_entropy_func, in mbedtls_psa_drbg_seed()
184 mbedtls_entropy_func, in mbedtls_psa_drbg_seed()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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()
H A 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()
/aosp_15_r20/external/mbedtls/programs/ssl/
H A Dssl_test_lib.c56 ret = mbedtls_entropy_func(data, output, len); in dummy_entropy()
105 (reproducible ? dummy_entropy : mbedtls_entropy_func); in rng_seed()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/ssl/
H A Dssl_test_lib.c55 ret = mbedtls_entropy_func(data, output, len); in dummy_entropy()
104 (reproducible ? dummy_entropy : mbedtls_entropy_func); in rng_seed()
/aosp_15_r20/external/mbedtls/programs/random/
H A Dgen_entropy.c48 ret = mbedtls_entropy_func(&entropy, buf, sizeof(buf)); in main()
H A Dgen_random_ctr_drbg.c53 mbedtls_entropy_func, in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/random/
H A Dgen_entropy.c48 ret = mbedtls_entropy_func(&entropy, buf, sizeof(buf)); in main()
H A Dgen_random_ctr_drbg.c53 mbedtls_entropy_func, in main()
/aosp_15_r20/external/libwebsockets/lib/plat/freertos/
H A Dfreertos-init.c83 n = mbedtls_ctr_drbg_seed(&context->mcdc, mbedtls_entropy_func, in lws_plat_init()
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dentropy.h185 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dentropy.h185 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/pkey/
H A Dpk_sign.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
H A Dpk_encrypt.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
H A Dpk_decrypt.c80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
H A Drsa_sign_pss.c77 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
/aosp_15_r20/external/mbedtls/programs/pkey/
H A Dpk_decrypt.c80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
H A Dpk_encrypt.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
H A Dpk_sign.c76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
/aosp_15_r20/external/libwebsockets/lib/plat/windows/
H A Dwindows-init.c88 n = mbedtls_ctr_drbg_seed(&context->mcdc, mbedtls_entropy_func, in lws_plat_init()

1234