Home
last modified time | relevance | path

Searched refs:psk_id (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/mbedtls/programs/ssl/
A Dmini_client.c96 const char psk_id[] = "Client_identity"; variable
227 (const unsigned char *) psk_id, sizeof( psk_id ) - 1 ); in main()
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/
A Daos_port.c227 network_handle->psk.psk_id = aos_malloc(strlen(psk->psk_id) + 1); in core_sysdep_network_setopt()
228 if (network_handle->psk.psk_id == NULL) { in core_sysdep_network_setopt()
232 memset(network_handle->psk.psk_id, 0, strlen(psk->psk_id) + 1); in core_sysdep_network_setopt()
233 memcpy(network_handle->psk.psk_id, psk->psk_id, strlen(psk->psk_id)); in core_sysdep_network_setopt()
236 aos_free(network_handle->psk.psk_id); in core_sysdep_network_setopt()
578 … (const unsigned char *)network_handle->psk.psk_id, (size_t)strlen(network_handle->psk.psk_id)); in _core_sysdep_network_mbedtls_establish()
1162 if (network_handle->psk.psk_id != NULL) { in core_sysdep_network_deinit()
1163 aos_free(network_handle->psk.psk_id); in core_sysdep_network_deinit()
1164 network_handle->psk.psk_id = NULL; in core_sysdep_network_deinit()
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_auth.c3 int32_t core_auth_tls_psk(aiot_sysdep_portfile_t *sysdep, char **psk_id, char psk[65], char *produc… in core_auth_tls_psk() argument
29 *psk_id = tmp_psk_id; in core_auth_tls_psk()
A Dcore_auth.h17 int32_t core_auth_tls_psk(aiot_sysdep_portfile_t *sysdep, char **psk_id, char psk[65], char *produc…
/AliOS-Things-master/components/linksdk/core/
A Daiot_sysdep_api.h47 char *psk_id; member
A Daiot_mqtt_api.c1227 char *psk_id = NULL, psk[65] = {0}; in _core_mqtt_connect() local
1230 …res = core_auth_tls_psk(mqtt_handle->sysdep, &psk_id, psk, mqtt_handle->product_key, mqtt_handle->… in _core_mqtt_connect()
1237 sysdep_psk.psk_id = psk_id; in _core_mqtt_connect()
1239 core_log1(mqtt_handle->sysdep, STATE_MQTT_LOG_TLS_PSK, "%s\r\n", sysdep_psk.psk_id); in _core_mqtt_connect()
1243 mqtt_handle->sysdep->core_sysdep_free(psk_id); in _core_mqtt_connect()

Completed in 14 milliseconds