/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_hmac_drbg.function | 76 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 D | test_suite_random.function | 80 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 D | test_suite_hmac_drbg.function | 76 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 D | test_suite_random.function | 89 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 D | hmac_drbg.c | 382 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 D | ecdsa.c | 451 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 D | hmac_drbg.c | 382 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 D | ecdsa.c | 451 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 D | psa_crypto.c | 4233 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 D | benchmark.c | 928 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 D | benchmark.c | 1009 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 D | mbedtls_ops.c | 63 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 D | psa_util.h | 95 static mbedtls_f_rng_t *const mbedtls_psa_get_random = mbedtls_hmac_drbg_random;
|
H A D | hmac_drbg.h | 378 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 D | hmac_drbg.h | 378 int mbedtls_hmac_drbg_random(void *p_rng, unsigned char *output, size_t out_len);
|
/aosp_15_r20/external/mbedtls/programs/ssl/ |
H A D | ssl_test_lib.c | 177 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 D | ssl_test_lib.c | 176 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 D | psa-transition.md | 643 …shed replacing the references to `mbedtls_ctr_drbg_random` (or `mbedtls_hmac_drbg_random`) by `mbe…
|
/aosp_15_r20/external/mbedtls/ |
H A D | ChangeLog | 4278 * mbedtls_ctr_drbg_random() and mbedtls_hmac_drbg_random() are now
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/ |
H A D | ChangeLog | 4538 * mbedtls_ctr_drbg_random() and mbedtls_hmac_drbg_random() are now
|