Searched refs:cacert (Results 1 – 8 of 8) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/ |
D | fuzz_dtlsclient.c | 18 static mbedtls_x509_crt cacert; variable 46 mbedtls_x509_crt_init(&cacert); in LLVMFuzzerTestOneInput() 47 if (mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput() 83 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in LLVMFuzzerTestOneInput()
|
D | fuzz_client.c | 16 static mbedtls_x509_crt cacert; variable 50 mbedtls_x509_crt_init(&cacert); in LLVMFuzzerTestOneInput() 51 if (mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput() 107 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in LLVMFuzzerTestOneInput()
|
/openthread-latest/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_client1.c | 68 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()
|
D | dtls_client.c | 82 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()
|
D | ssl_mail_client.c | 341 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()
|
D | ssl_client2.c | 836 mbedtls_x509_crt cacert; in main() local 889 mbedtls_x509_crt_init(&cacert); in main() 1685 ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path); in main() 1687 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main() 1693 ret = mbedtls_x509_crt_parse(&cacert, in main() 1703 ret = mbedtls_x509_crt_parse_der(&cacert, in main() 1955 mbedtls_ssl_conf_ca_cb(&conf, ca_callback, &cacert); in main() 1958 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main() 3133 mbedtls_x509_crt_free(&cacert); in main()
|
D | ssl_server2.c | 1540 mbedtls_x509_crt cacert; in main() local 1637 mbedtls_x509_crt_init(&cacert); in main() 2579 ret = mbedtls_x509_crt_parse_path(&cacert, opt.ca_path); in main() 2581 ret = mbedtls_x509_crt_parse_file(&cacert, opt.ca_file); in main() 2587 ret = mbedtls_x509_crt_parse(&cacert, in main() 2597 ret = mbedtls_x509_crt_parse_der(&cacert, in main() 3065 mbedtls_ssl_conf_ca_cb(&conf, ca_callback, &cacert); in main() 3068 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in main() 4234 mbedtls_x509_crt_free(&cacert); in main()
|
/openthread-latest/third_party/mbedtls/repo/programs/x509/ |
D | cert_app.c | 128 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()
|