Searched refs:psk_id (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/mbedtls/programs/ssl/ |
A D | mini_client.c | 96 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 D | aos_port.c | 227 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 D | core_auth.c | 3 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 D | core_auth.h | 17 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 D | aiot_sysdep_api.h | 47 char *psk_id; member
|
A D | aiot_mqtt_api.c | 1227 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