Home
last modified time | relevance | path

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

/programs/pkey/
A Dpk_sign.c46 mbedtls_entropy_context entropy; in main() local
54 mbedtls_entropy_init(&entropy); in main()
78 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
139 mbedtls_entropy_free(&entropy); in main()
A Drsa_sign_pss.c48 mbedtls_entropy_context entropy; in main() local
56 mbedtls_entropy_init(&entropy); in main()
80 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
153 mbedtls_entropy_free(&entropy); in main()
A Dgen_key.c239 mbedtls_entropy_context entropy; in main() local
255 mbedtls_entropy_init(&entropy); in main()
343 if ((ret = mbedtls_entropy_add_source(&entropy, dev_random_entropy_poll, in main()
356 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
473 mbedtls_entropy_free(&entropy); in main()
/programs/fuzz/
A Dfuzz_dtlsclient.c41 mbedtls_entropy_context entropy; in LLVMFuzzerTestOneInput() local
62 mbedtls_entropy_init(&entropy); in LLVMFuzzerTestOneInput()
69 if (mbedtls_ctr_drbg_seed(&ctr_drbg, dummy_entropy, &entropy, in LLVMFuzzerTestOneInput()
121 mbedtls_entropy_free(&entropy); in LLVMFuzzerTestOneInput()
A Dfuzz_client.c45 mbedtls_entropy_context entropy; in LLVMFuzzerTestOneInput() local
79 mbedtls_entropy_init(&entropy); in LLVMFuzzerTestOneInput()
86 if (mbedtls_ctr_drbg_seed(&ctr_drbg, dummy_entropy, &entropy, in LLVMFuzzerTestOneInput()
176 mbedtls_entropy_free(&entropy); in LLVMFuzzerTestOneInput()
A Dfuzz_dtlsserver.c45 mbedtls_entropy_context entropy; in LLVMFuzzerTestOneInput() local
52 mbedtls_entropy_init(&entropy); in LLVMFuzzerTestOneInput()
66 if (mbedtls_ctr_drbg_seed(&ctr_drbg, dummy_entropy, &entropy, in LLVMFuzzerTestOneInput()
159 mbedtls_entropy_free(&entropy); in LLVMFuzzerTestOneInput()
A Dfuzz_server.c45 mbedtls_entropy_context entropy; in LLVMFuzzerTestOneInput() local
60 mbedtls_entropy_init(&entropy); in LLVMFuzzerTestOneInput()
75 if (mbedtls_ctr_drbg_seed(&ctr_drbg, dummy_entropy, &entropy, in LLVMFuzzerTestOneInput()
196 mbedtls_entropy_free(&entropy); in LLVMFuzzerTestOneInput()
/programs/ssl/
A Dmini_client.c153 mbedtls_entropy_context entropy; in main() local
168 mbedtls_entropy_init(&entropy); in main()
176 if (mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
262 mbedtls_entropy_free(&entropy); in main()
A Dssl_client1.c63 mbedtls_entropy_context entropy; in main() local
81 mbedtls_entropy_init(&entropy); in main()
94 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
280 mbedtls_entropy_free(&entropy); in main()
A Ddtls_client.c79 mbedtls_entropy_context entropy; in main() local
101 mbedtls_entropy_init(&entropy); in main()
114 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
326 mbedtls_entropy_free(&entropy); in main()
A Dssl_server.c72 mbedtls_entropy_context entropy; in main() local
91 mbedtls_entropy_init(&entropy); in main()
112 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
350 mbedtls_entropy_free(&entropy); in main()
A Dssl_fork_server.c75 mbedtls_entropy_context entropy; in main() local
86 mbedtls_entropy_init(&entropy); in main()
106 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
368 mbedtls_entropy_free(&entropy); in main()
A Ddtls_server.c88 mbedtls_entropy_context entropy; in main() local
109 mbedtls_entropy_init(&entropy); in main()
130 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
396 mbedtls_entropy_free(&entropy); in main()
A Dssl_pthread_server.c293 mbedtls_entropy_context entropy; in main() local
330 mbedtls_entropy_init(&entropy); in main()
345 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
478 mbedtls_entropy_free(&entropy); in main()
A Dssl_test_lib.c80 mbedtls_entropy_init(&rng->entropy); in rng_init()
111 f_entropy, &rng->entropy, in rng_seed()
124 f_entropy, &rng->entropy, in rng_seed()
159 mbedtls_entropy_free(&rng->entropy); in rng_free()
A Dssl_mail_client.c339 mbedtls_entropy_context entropy; in main() local
362 mbedtls_entropy_init(&entropy); in main()
459 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
804 mbedtls_entropy_free(&entropy); in main()
A Dssl_test_lib.h115 mbedtls_entropy_context entropy;
/programs/x509/
A Dcert_app.c126 mbedtls_entropy_context entropy; in main() local
146 mbedtls_entropy_init(&entropy); in main()
339 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
446 mbedtls_entropy_free(&entropy); in main()
A Dcert_req.c149 mbedtls_entropy_context entropy; in main() local
163 mbedtls_entropy_init(&entropy); in main()
434 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
502 mbedtls_entropy_free(&entropy); in main()
A Dcert_write.c309 mbedtls_entropy_context entropy; in main() local
321 mbedtls_entropy_init(&entropy); in main()
684 if ((ret = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, in main()
1026 mbedtls_entropy_free(&entropy); in main()

Completed in 904 milliseconds