Home
last modified time | relevance | path

Searched refs:mbedtls_x509_crt_parse (Results 1 – 25 of 25) sorted by relevance

/third_party/mbedtls/programs/fuzz/
Dfuzz_dtlsserver.c64 if (mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_srv_crt, in LLVMFuzzerTestOneInput()
68 if (mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput()
Dfuzz_server.c72 if (mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_srv_crt, in LLVMFuzzerTestOneInput()
76 if (mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput()
Dfuzz_x509crt.c14 ret = mbedtls_x509_crt_parse(&crt, Data, Size); in LLVMFuzzerTestOneInput()
Dfuzz_dtlsclient.c49 if (mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput()
Dfuzz_client.c53 if (mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in LLVMFuzzerTestOneInput()
/third_party/mbedtls/programs/ssl/
Dssl_server.c137 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main()
144 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_cas_pem, in main()
Dssl_fork_server.c136 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main()
143 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_cas_pem, in main()
Ddtls_server.c152 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main()
159 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_cas_pem, in main()
Dssl_pthread_server.c361 ret = mbedtls_x509_crt_parse(&srvcert, (const unsigned char *) mbedtls_test_srv_crt, in main()
368 ret = mbedtls_x509_crt_parse(&cachain, (const unsigned char *) mbedtls_test_cas_pem, in main()
Dssl_client1.c114 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
Ddtls_client.c132 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
Dssl_mail_client.c483 ret = mbedtls_x509_crt_parse(&cacert, (const unsigned char *) mbedtls_test_cas_pem, in main()
511 ret = mbedtls_x509_crt_parse(&clicert, (const unsigned char *) mbedtls_test_cli_crt, in main()
Dssl_server2.c2564 ret = mbedtls_x509_crt_parse(&cacert, in main()
2649 if ((ret = mbedtls_x509_crt_parse(&srvcert, in main()
2667 if ((ret = mbedtls_x509_crt_parse(&srvcert2, in main()
Dssl_client2.c1671 ret = mbedtls_x509_crt_parse(&cacert, in main()
1714 { ret = mbedtls_x509_crt_parse(&clicert, in main()
/third_party/mbedtls/port/src/
Dtls_client.c90 …int ret = mbedtls_x509_crt_parse(&session->cacert, (const unsigned char *)G_MBEDTLS_ROOT_CERTIFICA… in MbedtlsClientContext()
/third_party/libcoap/src/
Dcoap_mbedtls.c590 ret = mbedtls_x509_crt_parse(public_cert, buffer, length); in setup_pki_credentials()
593 ret = mbedtls_x509_crt_parse(public_cert, in setup_pki_credentials()
668 ret = mbedtls_x509_crt_parse(cacert, buffer, length); in setup_pki_credentials()
671 ret = mbedtls_x509_crt_parse(cacert, in setup_pki_credentials()
691 ret = mbedtls_x509_crt_parse(public_cert, in setup_pki_credentials()
731 ret = mbedtls_x509_crt_parse(cacert, in setup_pki_credentials()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c822 ret = mbedtls_x509_crt_parse(srvcert, cert, cert_len); in altcp_tls_config_server_add_privkey_cert()
885 ret = mbedtls_x509_crt_parse(conf->ca, ca, ca_len); in altcp_tls_create_config_client_common()
923 ret = mbedtls_x509_crt_parse(conf->cert, cert, cert_len); in altcp_tls_create_config_client_2wayauth()
/third_party/mbedtls/include/mbedtls/
Dx509_crt.h525 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen);
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c648 ret = mbedtls_x509_crt_parse( in mbedtls_test_ssl_endpoint_certificate_init()
661 ret = mbedtls_x509_crt_parse( in mbedtls_test_ssl_endpoint_certificate_init()
676 ret = mbedtls_x509_crt_parse( in mbedtls_test_ssl_endpoint_certificate_init()
689 ret = mbedtls_x509_crt_parse( in mbedtls_test_ssl_endpoint_certificate_init()
/third_party/curl/lib/vtls/
Dmbedtls.c375 ret = mbedtls_x509_crt_parse(&backend->cacert, newblob, in mbed_connect_step1()
449 ret = mbedtls_x509_crt_parse(&backend->clicert, newblob, in mbed_connect_step1()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c340 ret = mbedtls_x509_crt_parse(&x509->cert, pem, len); in lws_x509_parse_from_pem()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c681 ret = mbedtls_x509_crt_parse(x509_pm->x509_crt, load_buf, (unsigned int)len + 1); in x509_pm_load()
/third_party/mbedtls/library/
Dx509_crt.c1276 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, in mbedtls_x509_crt_parse() function
1400 ret = mbedtls_x509_crt_parse(chain, buf, n); in mbedtls_x509_crt_parse_file()
/third_party/mbedtls/tests/suites/
Dtest_suite_x509write.function493 TEST_ASSERT(mbedtls_x509_crt_parse(&crt_parse,
/third_party/mbedtls/
DChangeLog3571 * Fix bug in mbedtls_x509_crt_parse that caused trailing extra data in the