Searched refs:psk_hint (Results 1 – 6 of 6) sorted by relevance
631 if (session->psk_hint) in coap_session_mfree()632 coap_delete_bin_const(session->psk_hint); in coap_session_mfree()1513 const coap_bin_const_t *psk_hint in coap_session_refresh_psk_hint() argument1516 coap_bin_const_t *old_psk_hint = session->psk_hint; in coap_session_refresh_psk_hint()1518 if (psk_hint && psk_hint->s) { in coap_session_refresh_psk_hint()1519 if (session->psk_hint) { in coap_session_refresh_psk_hint()1520 if (coap_binary_equal(session->psk_hint, psk_hint)) in coap_session_refresh_psk_hint()1523 session->psk_hint = coap_new_bin_const(psk_hint->s, in coap_session_refresh_psk_hint()1524 psk_hint->length); in coap_session_refresh_psk_hint()1525 if (!session->psk_hint) { in coap_session_refresh_psk_hint()[all …]
2823 const coap_bin_const_t *psk_hint; in coap_dtls_new_server_session() local2844 psk_hint = coap_get_session_server_psk_hint(session); in coap_dtls_new_server_session()2845 if (psk_hint != NULL && psk_hint->length) { in coap_dtls_new_server_session()2846 char *hint = OPENSSL_malloc(psk_hint->length + 1); in coap_dtls_new_server_session()2849 memcpy(hint, psk_hint->s, psk_hint->length); in coap_dtls_new_server_session()2850 hint[psk_hint->length] = '\000'; in coap_dtls_new_server_session()3344 const coap_bin_const_t *psk_hint; in coap_tls_new_server_session() local3356 psk_hint = coap_get_session_server_psk_hint(session); in coap_tls_new_server_session()3357 if (psk_hint != NULL && psk_hint->length) { in coap_tls_new_server_session()3358 char *hint = OPENSSL_malloc(psk_hint->length + 1); in coap_tls_new_server_session()[all …]
390 const coap_bin_const_t *psk_hint; in get_psk_info() local519 psk_hint = coap_get_session_server_psk_hint(coap_session); in get_psk_info()520 if (psk_hint == NULL) in get_psk_info()522 if (psk_hint->length > result_length) { in get_psk_info()527 result_length = psk_hint->length; in get_psk_info()529 memcpy(result, psk_hint->s, result_length); in get_psk_info()
314 if (session->psk_hint) in coap_get_session_server_psk_hint()315 return session->psk_hint; in coap_get_session_server_psk_hint()
136 coap_bin_const_t *psk_hint; /**< If client, this field contains the member278 const coap_bin_const_t *psk_hint);
116 [B<-psk_hint> I<val>]693 =item B<-psk_hint> I<val>