Searched refs:hint_len (Results 1 – 4 of 4) sorted by relevance
/third_party/libcoap/src/ |
D | coap_openssl.c | 422 size_t hint_len = 0, identity_len = 0, psk_len; in coap_dtls_psk_client_callback() local 441 hint_len = strlen(hint); in coap_dtls_psk_client_callback() 442 c_session->psk_hint = coap_new_bin_const((const uint8_t *)hint, hint_len); in coap_dtls_psk_client_callback() 447 coap_log(LOG_DEBUG, "got psk_identity_hint: '%.*s'\n", (int)hint_len, hint); in coap_dtls_psk_client_callback() 451 lhint.length = hint_len; in coap_dtls_psk_client_callback() 484 hint_len, in coap_dtls_psk_client_callback() 2776 size_t hint_len = session->context->get_server_hint(session, in coap_dtls_new_server_session() local 2778 if (hint_len > 0 && hint_len < sizeof(hint)) { in coap_dtls_new_server_session() 2779 hint[hint_len] = 0; in coap_dtls_new_server_session() 3240 size_t hint_len = session->context->get_server_hint(session, (uint8_t*)hint, sizeof(hint) - 1); in coap_tls_new_server_session() local [all …]
|
D | coap_gnutls.c | 520 size_t hint_len = 0; in psk_client_callback() local 542 hint_len = strlen(hint); in psk_client_callback() 546 coap_log(LOG_DEBUG, "got psk_identity_hint: '%.*s'\n", (int)hint_len, hint); in psk_client_callback() 550 lhint.length = hint_len; in psk_client_callback()
|
D | net.c | 300 const uint8_t *hint, size_t hint_len, in coap_get_session_client_psk() argument 306 (void)hint_len; in coap_get_session_client_psk()
|
/third_party/libcoap/include/coap3/ |
D | coap_net_internal.h | 101 size_t hint_len, uint8_t *identity,
|