Home
last modified time | relevance | path

Searched refs:mbedtls_hmac_drbg_random (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_hmac_drbg.function76 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out) - 4) == 0);
89 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
98 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
106 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
112 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
117 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
177 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
H A Dtest_suite_random.function80 TEST_EQUAL(0, mbedtls_hmac_drbg_random(&drbg,
91 TEST_EQUAL(0, mbedtls_hmac_drbg_random(&drbg,
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_hmac_drbg.function76 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out) - 4) == 0);
89 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
98 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
106 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
112 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
117 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
177 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0);
H A Dtest_suite_random.function89 TEST_EQUAL(0, mbedtls_hmac_drbg_random(&drbg,
100 TEST_EQUAL(0, mbedtls_hmac_drbg_random(&drbg,
/aosp_15_r20/external/mbedtls/library/
H A Dhmac_drbg.c382 int mbedtls_hmac_drbg_random(void *p_rng, unsigned char *output, size_t out_len) in mbedtls_hmac_drbg_random() function
439 if ((ret = mbedtls_hmac_drbg_random(ctx, buf, sizeof(buf))) != 0) { in mbedtls_hmac_drbg_write_seed_file()
588 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
589 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
613 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
614 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
H A Decdsa.c451 mbedtls_hmac_drbg_random, p_rng); in mbedtls_ecdsa_sign_det_restartable()
454 mbedtls_hmac_drbg_random, p_rng, in mbedtls_ecdsa_sign_det_restartable()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dhmac_drbg.c382 int mbedtls_hmac_drbg_random(void *p_rng, unsigned char *output, size_t out_len) in mbedtls_hmac_drbg_random() function
439 if ((ret = mbedtls_hmac_drbg_random(ctx, buf, sizeof(buf))) != 0) { in mbedtls_hmac_drbg_write_seed_file()
588 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
589 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
613 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
614 CHK(mbedtls_hmac_drbg_random(&ctx, buf, OUTPUT_LEN)); in mbedtls_hmac_drbg_self_test()
H A Decdsa.c451 mbedtls_hmac_drbg_random, p_rng); in mbedtls_ecdsa_sign_det_restartable()
454 mbedtls_hmac_drbg_random, p_rng, in mbedtls_ecdsa_sign_det_restartable()
H A Dpsa_crypto.c4233 ret = mbedtls_hmac_drbg_random(&global_data.rng.drbg, output, request_size); in psa_generate_random_internal()
/aosp_15_r20/external/mbedtls/programs/test/
H A Dbenchmark.c928 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
936 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
948 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
956 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/test/
H A Dbenchmark.c1009 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
1017 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
1029 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
1037 mbedtls_hmac_drbg_random(&hmac_drbg, buf, BUFSIZE)); in main()
/aosp_15_r20/external/open-dice/src/
H A Dmbedtls_ops.c63 mbedtls_hmac_drbg_random, &rng_context)) { in SetupKeyPair()
488 mbedtls_hmac_drbg_random, &drbg); in DiceGenerateCertificate()
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dpsa_util.h95 static mbedtls_f_rng_t *const mbedtls_psa_get_random = mbedtls_hmac_drbg_random;
H A Dhmac_drbg.h378 int mbedtls_hmac_drbg_random(void *p_rng, unsigned char *output, size_t out_len);
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dhmac_drbg.h378 int mbedtls_hmac_drbg_random(void *p_rng, unsigned char *output, size_t out_len);
/aosp_15_r20/external/mbedtls/programs/ssl/
H A Dssl_test_lib.c177 return mbedtls_hmac_drbg_random(&rng->drbg, output, output_len); in rng_get()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/ssl/
H A Dssl_test_lib.c176 return mbedtls_hmac_drbg_random(&rng->drbg, output, output_len); in rng_get()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/docs/
H A Dpsa-transition.md643 …shed replacing the references to `mbedtls_ctr_drbg_random` (or `mbedtls_hmac_drbg_random`) by `mbe…
/aosp_15_r20/external/mbedtls/
H A DChangeLog4278 * mbedtls_ctr_drbg_random() and mbedtls_hmac_drbg_random() are now
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/
H A DChangeLog4538 * mbedtls_ctr_drbg_random() and mbedtls_hmac_drbg_random() are now