Searched refs:cacert (Results 1 – 8 of 8) sorted by relevance
/mbedtls-3.5.0/programs/fuzz/ |
D | fuzz_dtlsclient.c | 20 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()
|
D | fuzz_client.c | 18 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/ |
D | ssl_client1.c | 80 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()
|
D | dtls_client.c | 94 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()
|
D | ssl_mail_client.c | 353 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()
|
D | ssl_client2.c | 796 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()
|
D | ssl_server2.c | 1499 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/ |
D | cert_app.c | 140 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()
|