Home
last modified time | relevance | path

Searched refs:cacert (Results 1 – 8 of 8) sorted by relevance

/mbedtls-3.6.0/programs/fuzz/
Dfuzz_dtlsclient.c20 static mbedtls_x509_crt cacert; variable
48 mbedtls_x509_crt_init(&cacert); in LLVMFuzzerTestOneInput()
49 if (mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput()
85 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in LLVMFuzzerTestOneInput()
Dfuzz_client.c18 static mbedtls_x509_crt cacert; variable
52 mbedtls_x509_crt_init(&cacert); in LLVMFuzzerTestOneInput()
53 if (mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput()
109 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in LLVMFuzzerTestOneInput()
/mbedtls-3.6.0/programs/x509/
Dcert_app.c128 mbedtls_x509_crt cacert; in main() local
143 mbedtls_x509_crt_init(&cacert); in main()
233 if ((ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path)) < 0) { in main()
241 if ((ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file)) < 0) { in main()
317 if ((ret = mbedtls_x509_crt_verify(&crt, &cacert, &cacrl, NULL, &flags, in main()
378 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
442 mbedtls_x509_crt_free(&cacert); in main()
/mbedtls-3.6.0/programs/ssl/
Dssl_client1.c68 mbedtls_x509_crt cacert; in main() local
80 mbedtls_x509_crt_init(&cacert); in main()
112 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
155 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
275 mbedtls_x509_crt_free(&cacert); in main()
Ddtls_client.c82 mbedtls_x509_crt cacert; in main() local
98 mbedtls_x509_crt_init(&cacert); in main()
130 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
172 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
324 mbedtls_x509_crt_free(&cacert); in main()
Dssl_mail_client.c341 mbedtls_x509_crt cacert; in main() local
356 mbedtls_x509_crt_init(&cacert); in main()
476 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
480 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
584 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
790 mbedtls_x509_crt_free(&cacert); in main()
Dssl_client2.c781 mbedtls_x509_crt cacert; in main() local
834 mbedtls_x509_crt_init(&cacert); in main()
1606 ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path); in main()
1608 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
1614 ret = mbedtls_x509_crt_parse(&cacert, in main()
1624 ret = mbedtls_x509_crt_parse_der(&cacert, in main()
1877 mbedtls_ssl_conf_ca_cb(&conf, ca_callback, &cacert); in main()
1880 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
3021 mbedtls_x509_crt_free(&cacert); in main()
Dssl_server2.c1489 mbedtls_x509_crt cacert; in main() local
1589 mbedtls_x509_crt_init(&cacert); in main()
2501 ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path); in main()
2503 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
2509 ret = mbedtls_x509_crt_parse(&cacert, in main()
2519 ret = mbedtls_x509_crt_parse_der(&cacert, in main()
2989 mbedtls_ssl_conf_ca_cb(&conf, ca_callback, &cacert); in main()
2992 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
4145 mbedtls_x509_crt_free(&cacert); in main()