Home
last modified time | relevance | path

Searched refs:psk_key_length (Results 1 – 3 of 3) sorted by relevance

/net-tools-3.7.0/tinydtls-0.8.2/tests/
Ddtls-client.c99 static size_t psk_key_length = 0; variable
128 } else if (result_length < psk_key_length) { in get_psk_info()
133 memcpy(result, psk_key, psk_key_length); in get_psk_info()
134 return psk_key_length; in get_psk_info()
357 psk_key_length = strlen(PSK_DEFAULT_KEY);
359 memcpy(psk_key, PSK_DEFAULT_KEY, psk_key_length);
379 psk_key_length = result;
/net-tools-3.7.0/tinydtls-0.8.2/examples/contiki/
Ddtls-client.c135 static size_t psk_key_length = sizeof(PSK_DEFAULT_KEY) - 1; variable
166 } else if (result_length < psk_key_length) { in get_psk_info()
171 memcpy(result, psk_key, psk_key_length); in get_psk_info()
172 return psk_key_length; in get_psk_info()
/net-tools-3.7.0/
Dcoap-client.c523 static size_t psk_key_length = 0; variable
553 } else if (result_length < psk_key_length) { in get_psk_info()
558 memcpy(result, psk_key, psk_key_length); in get_psk_info()
559 return psk_key_length; in get_psk_info()
1589 psk_key_length = strlen(PSK_DEFAULT_KEY);
1591 memcpy(psk_key, PSK_DEFAULT_KEY, psk_key_length);