Home
last modified time | relevance | path

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

/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dmini_client.c98 const char psk_id[] = "Client_identity"; variable
217 (const unsigned char *) psk_id, sizeof( psk_id ) - 1 ); in main()
/net-tools-2.7.6/tinydtls-0.8.2/tests/
Ddtls-client.c96 static unsigned char psk_id[PSK_ID_MAXLEN]; variable
122 memcpy(result, psk_id, psk_id_length); in get_psk_info()
125 if (id_len != psk_id_length || memcmp(psk_id, id, id_len) != 0) { in get_psk_info()
358 memcpy(psk_id, PSK_DEFAULT_IDENTITY, psk_id_length);
366 ssize_t result = read_from_file(optarg, psk_id, PSK_ID_MAXLEN);
/net-tools-2.7.6/tinydtls-0.8.2/examples/contiki/
Ddtls-client.c132 static unsigned char psk_id[PSK_ID_MAXLEN] = PSK_DEFAULT_IDENTITY; variable
160 memcpy(result, psk_id, psk_id_length); in get_psk_info()
163 if (id_len != psk_id_length || memcmp(psk_id, id, id_len) != 0) { in get_psk_info()
/net-tools-2.7.6/
Dcoap-client.c520 static unsigned char psk_id[PSK_ID_MAXLEN]; variable
546 memcpy(result, psk_id, psk_id_length); in get_psk_info()
550 if (id_len != psk_id_length || memcmp(psk_id, id, id_len) != 0) { in get_psk_info()
1590 memcpy(psk_id, PSK_DEFAULT_IDENTITY, psk_id_length);