/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_entropy.function | 207 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 D | test_suite_random.function | 35 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 D | test_suite_entropy.function | 209 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 D | test_suite_random.function | 40 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 D | entropy.c | 266 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 D | psa_crypto_random_impl.h | 176 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 D | entropy.c | 266 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 D | psa_crypto_random_impl.h | 126 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 D | ssl_test_lib.c | 56 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 D | ssl_test_lib.c | 55 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 D | gen_entropy.c | 48 ret = mbedtls_entropy_func(&entropy, buf, sizeof(buf)); in main()
|
H A D | gen_random_ctr_drbg.c | 53 mbedtls_entropy_func, in main()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/random/ |
H A D | gen_entropy.c | 48 ret = mbedtls_entropy_func(&entropy, buf, sizeof(buf)); in main()
|
H A D | gen_random_ctr_drbg.c | 53 mbedtls_entropy_func, in main()
|
/aosp_15_r20/external/libwebsockets/lib/plat/freertos/ |
H A D | freertos-init.c | 83 n = mbedtls_ctr_drbg_seed(&context->mcdc, mbedtls_entropy_func, in lws_plat_init()
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | entropy.h | 185 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 D | entropy.h | 185 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 D | pk_sign.c | 76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
|
H A D | pk_encrypt.c | 76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
|
H A D | pk_decrypt.c | 80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
|
H A D | rsa_sign_pss.c | 77 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
|
/aosp_15_r20/external/mbedtls/programs/pkey/ |
H A D | pk_decrypt.c | 80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
|
H A D | pk_encrypt.c | 76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, in main()
|
H A D | pk_sign.c | 76 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
|
/aosp_15_r20/external/libwebsockets/lib/plat/windows/ |
H A D | windows-init.c | 88 n = mbedtls_ctr_drbg_seed(&context->mcdc, mbedtls_entropy_func, in lws_plat_init()
|