/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_net.c | 71 pNetwork->pHostAddress, pNetwork->port, pNetwork->ca_crt, in connect_ssl() 156 pNetwork->pHostAddress, pNetwork->port, pNetwork->ca_crt, in connect_ssl() 305 const char *ca_crt) in iotx_net_init() argument 313 pNetwork->ca_crt = ca_crt; in iotx_net_init() 315 if (NULL == ca_crt) { in iotx_net_init() 318 pNetwork->ca_crt_len = strlen(ca_crt); in iotx_net_init()
|
A D | infra_httpc.c | 567 const char *ca_crt, HTTPCLIENT_REQUEST_TYPE method, in _http_send() argument 583 ret = iotx_net_init(&client->net, host, port, ca_crt); in _http_send() 604 const char *ca_crt, HTTPCLIENT_REQUEST_TYPE method, in httpclient_common() argument 608 int ret = _http_send(client, url, port, ca_crt, method, client_data); in httpclient_common() 639 const char *ca_crt, httpclient_data_t *client_data) in iotx_post() argument 641 return _http_send(client, url, port, ca_crt, HTTPCLIENT_POST, client_data); in iotx_post()
|
/AliOS-Things-master/components/uvoice/stream/ |
A D | uvoice_ssl.c | 106 mbedtls_x509_crt *crt509_ca, const char *ca_crt, in _ssl_client_init() argument 132 if (NULL != ca_crt) { in _ssl_client_init() 134 crt509_ca, (const unsigned char *)ca_crt, ca_len))) { in _ssl_client_init() 306 const char *port, const char *ca_crt, in _TLSConnectNetwork() argument 318 &(pTlsData->cacertl), ca_crt, ca_crt_len, &(pTlsData->clicert), in _TLSConnectNetwork() 365 if (ca_crt != NULL) { in _TLSConnectNetwork() 571 uintptr_t net_ssl_connect(const char *host, uint16_t port, const char *ca_crt, in net_ssl_connect() argument 575 return HAL_SSL_Establish(host, port, ca_crt, ca_crt_len); in net_ssl_connect() 588 if (0 != _TLSConnectNetwork(pTlsData, host, port_str, ca_crt, ca_crt_len, in net_ssl_connect()
|
A D | uvoice_http.c | 67 static const char *ca_crt = \ variable 238 loader->port, ca_crt, strlen(ca_crt) + 1); in http_connect()
|
/AliOS-Things-master/components/linkkit/include/linkkit/infra/ |
A D | infra_net.h | 24 const char *ca_crt; member 51 const char *ca_crt);
|
A D | infra_httpc.h | 95 const char *ca_crt, httpclient_data_t *client_data); 101 const char *ca_crt, HTTPCLIENT_REQUEST_TYPE method,
|
/AliOS-Things-master/components/linkkit/wrappers/platform/ssl/ |
A D | HAL_TLS_mbedtls.c | 297 mbedtls_x509_crt *crt509_ca, const char *ca_crt, in _ssl_client_init() argument 329 if (NULL != ca_crt) { in _ssl_client_init() 331 crt509_ca, (const unsigned char *)ca_crt, ca_len); in _ssl_client_init() 405 const char *port, const char *ca_crt, in _TLSConnectNetwork() argument 416 &(pTlsData->conf), &(pTlsData->cacertl), ca_crt, in _TLSConnectNetwork() 448 if (ca_crt != NULL) { in _TLSConnectNetwork() 650 uintptr_t HAL_SSL_Establish(const char *host, uint16_t port, const char *ca_crt, in HAL_SSL_Establish() argument 663 if (0 != _TLSConnectNetwork(pTlsData, host, port_str, ca_crt, ca_crt_len, in HAL_SSL_Establish()
|
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_TLS_mbedtls.c | 313 mbedtls_x509_crt *crt509_ca, const char *ca_crt, in _ssl_client_init() argument 338 if (NULL != ca_crt) { in _ssl_client_init() 340 crt509_ca, (const unsigned char *)ca_crt, ca_len); in _ssl_client_init() 417 const char *port, const char *ca_crt, in _TLSConnectNetwork() argument 428 &(pTlsData->conf), &(pTlsData->cacertl), ca_crt, in _TLSConnectNetwork() 498 if (ca_crt != NULL) { in _TLSConnectNetwork() 861 uintptr_t HAL_SSL_Establish(const char *host, uint16_t port, const char *ca_crt, in HAL_SSL_Establish() argument 875 if (0 != _TLSConnectNetwork(pTlsData, host, port_str, ca_crt, ca_crt_len, in HAL_SSL_Establish()
|
A D | HAL_TLS_itls.c | 418 uintptr_t HAL_SSL_Establish(const char *host, uint16_t port, const char *ca_crt, in HAL_SSL_Establish() argument
|
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/ |
A D | wrappers_tls.h | 13 uintptr_t HAL_SSL_Establish(const char *host, uint16_t port, const char *ca_crt,
|