Home
last modified time | relevance | path

Searched refs:mbedtls_ctr_drbg_random (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mbedtls/programs/pkey/
Decdh_curve25519.c99 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
124 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
157 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
166 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
Dpk_decrypt.c95 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
125 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Dpk_sign.c90 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
111 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Drsa_sign_pss.c90 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
124 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Ddh_genprime.c121 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
139 if ((ret = mbedtls_mpi_is_prime_ext(&Q, 50, mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Decdsa.c138 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
171 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Ddh_client.c212 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
229 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Ddh_server.c191 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
249 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Dgen_key.c315 ret = mbedtls_rsa_gen_key(mbedtls_pk_rsa(key), mbedtls_ctr_drbg_random, &ctr_drbg, in main()
328 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
Dpk_encrypt.c111 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
/third_party/mbedtls/library/
Dctr_drbg.c573 int mbedtls_ctr_drbg_random(void *p_rng, unsigned char *output, in mbedtls_ctr_drbg_random() function
611 if ((ret = mbedtls_ctr_drbg_random(ctx, buf, in mbedtls_ctr_drbg_write_seed_file()
848 CHK(mbedtls_ctr_drbg_random(&ctx, buf, SELF_TEST_OUTPUT_DISCARD_LENGTH)); in mbedtls_ctr_drbg_self_test()
849 CHK(mbedtls_ctr_drbg_random(&ctx, buf, sizeof(result_pr))); in mbedtls_ctr_drbg_self_test()
875 CHK(mbedtls_ctr_drbg_random(&ctx, buf, SELF_TEST_OUTPUT_DISCARD_LENGTH)); in mbedtls_ctr_drbg_self_test()
876 CHK(mbedtls_ctr_drbg_random(&ctx, buf, sizeof(result_nopr))); in mbedtls_ctr_drbg_self_test()
/third_party/mbedtls/tests/suites/
Dtest_suite_ctr_drbg.function259 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out) - 4) == 0);
272 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out)) == 0);
281 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out)) == 0);
295 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out)) == 0);
301 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out)) == 0);
306 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out)) == 0);
Dtest_suite_random.function35 TEST_EQUAL(0, mbedtls_ctr_drbg_random(&drbg,
46 TEST_EQUAL(0, mbedtls_ctr_drbg_random(&drbg,
/third_party/mbedtls/programs/ssl/
Ddtls_server.c171 mbedtls_ctr_drbg_random, in main()
207 mbedtls_ssl_conf_rng(&conf, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
224 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Dssl_server.c153 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
188 mbedtls_ssl_conf_rng(&conf, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
Dssl_fork_server.c152 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
174 mbedtls_ssl_conf_rng(&conf, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
Dssl_pthread_server.c378 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
400 mbedtls_ssl_conf_rng(&conf, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
Dssl_mail_client.c521 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
531 mbedtls_ctr_drbg_random, in main()
580 mbedtls_ssl_conf_rng(&conf, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
/third_party/mbedtls/programs/x509/
Dcert_write.c672 opt.subject_pwd, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
687 opt.issuer_pwd, mbedtls_ctr_drbg_random, &ctr_drbg); in main()
699 mbedtls_ctr_drbg_random, &ctr_drbg) != 0) { in main()
866 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
Dcert_req.c419 mbedtls_ctr_drbg_random, &ctr_drbg); in main()
437 mbedtls_ctr_drbg_random, &ctr_drbg)) != 0) { in main()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-misc.c72 n = mbedtls_ctr_drbg_random(&context->mcdc, buf, len); in lws_get_random()
/third_party/mbedtls/programs/random/
Dgen_random_ctr_drbg.c92 ret = mbedtls_ctr_drbg_random(&ctr_drbg, buf, sizeof(buf)); in main()
/third_party/mbedtls/programs/fuzz/
Dcommon.c68 ret = mbedtls_ctr_drbg_random(p_rng, output, output_len); in dummy_random()
/third_party/mbedtls/include/mbedtls/
Dctr_drbg.h528 int mbedtls_ctr_drbg_random(void *p_rng,
/third_party/libwebsockets/lib/plat/windows/
Dwindows-init.c97 if (mbedtls_ctr_drbg_random(&context->mcdc, rtest, in lws_plat_init()

12