Home
last modified time | relevance | path

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

/mbedtls-3.5.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()
78 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()
102 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in LLVMFuzzerTestOneInput()
/mbedtls-3.5.0/programs/ssl/
Dssl_client1.c80 mbedtls_x509_crt cacert; in main() local
92 mbedtls_x509_crt_init(&cacert); in main()
114 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
157 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
278 mbedtls_x509_crt_free(&cacert); in main()
Ddtls_client.c94 mbedtls_x509_crt cacert; in main() local
110 mbedtls_x509_crt_init(&cacert); in main()
132 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
174 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
328 mbedtls_x509_crt_free(&cacert); in main()
Dssl_mail_client.c353 mbedtls_x509_crt cacert; in main() local
368 mbedtls_x509_crt_init(&cacert); in main()
479 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
483 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
587 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
793 mbedtls_x509_crt_free(&cacert); in main()
Dssl_client2.c796 mbedtls_x509_crt cacert; in main() local
849 mbedtls_x509_crt_init(&cacert); in main()
1663 ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path); in main()
1665 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
1671 ret = mbedtls_x509_crt_parse(&cacert, in main()
1681 ret = mbedtls_x509_crt_parse_der(&cacert, in main()
1934 mbedtls_ssl_conf_ca_cb(&conf, ca_callback, &cacert); in main()
1937 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
3076 mbedtls_x509_crt_free(&cacert); in main()
Dssl_server2.c1499 mbedtls_x509_crt cacert; in main() local
1602 mbedtls_x509_crt_init(&cacert); in main()
2556 ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path); in main()
2558 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main()
2564 ret = mbedtls_x509_crt_parse(&cacert, in main()
2574 ret = mbedtls_x509_crt_parse_der(&cacert, in main()
3044 mbedtls_ssl_conf_ca_cb(&conf, ca_callback, &cacert); in main()
3047 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
4199 mbedtls_x509_crt_free(&cacert); in main()
/mbedtls-3.5.0/programs/x509/
Dcert_app.c140 mbedtls_x509_crt cacert; in main() local
155 mbedtls_x509_crt_init(&cacert); in main()
235 if ((ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path)) < 0) { in main()
243 if ((ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file)) < 0) { in main()
319 if ((ret = mbedtls_x509_crt_verify(&crt, &cacert, &cacrl, NULL, &flags, in main()
381 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main()
445 mbedtls_x509_crt_free(&cacert); in main()