Home
last modified time | relevance | path

Searched refs:lhint (Results 1 - 4 of 4) sorted by relevance

/third_party/libcoap/src/
H A Dcoap_openssl.c525 coap_str_const_t lhint; in coap_dtls_psk_client_callback() local
527 lhint.s = temp.s; in coap_dtls_psk_client_callback()
528 lhint.length = temp.length; in coap_dtls_psk_client_callback()
530 setup_data->validate_ih_call_back(&lhint, in coap_dtls_psk_client_callback()
2225 char lhint[COAP_DTLS_HINT_LENGTH]; in psk_tls_server_name_call_back() local
2290 snprintf(lhint, sizeof(lhint), "%.*s", in psk_tls_server_name_call_back()
2293 SSL_use_psk_identity_hint(ssl, lhint); in psk_tls_server_name_call_back()
2550 char lhint[COAP_DTLS_HINT_LENGTH]; in psk_tls_client_hello_call_back() local
2616 snprintf(lhint, sizeo in psk_tls_client_hello_call_back()
[all...]
H A Dcoap_tinydtls.c419 coap_str_const_t lhint; in get_psk_info() local
421 lhint.length = id_len; in get_psk_info()
422 lhint.s = id; in get_psk_info()
424 setup_cdata->validate_ih_call_back(&lhint, in get_psk_info()
H A Dcoap_gnutls.c588 coap_str_const_t lhint; in psk_client_callback() local
590 lhint.length = temp.length; in psk_client_callback()
591 lhint.s = temp.s; in psk_client_callback()
593 setup_data->validate_ih_call_back(&lhint, in psk_client_callback()
/third_party/libcoap/examples/
H A Dcoap-client.c1297 char lhint[COAP_DTLS_HINT_LENGTH]; in verify_ih_callback() local
1301 snprintf(lhint, sizeof(lhint), "%.*s", (int)hint->length, hint->s); in verify_ih_callback()
1302 coap_log_info("Identity Hint '%s' provided\n", lhint); in verify_ih_callback()
1306 if (strcmp(lhint, valid_ihs.ih_list[i].hint_match) == 0) { in verify_ih_callback()

Completed in 22 milliseconds