Home
last modified time | relevance | path

Searched refs:psk_hint (Results 1 – 6 of 6) sorted by relevance

/third_party/libcoap/src/
Dcoap_session.c631 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() argument
1516 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 …]
Dcoap_openssl.c2823 const coap_bin_const_t *psk_hint; in coap_dtls_new_server_session() local
2844 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() local
3356 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 …]
Dcoap_tinydtls.c390 const coap_bin_const_t *psk_hint; in get_psk_info() local
519 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()
Dcoap_net.c314 if (session->psk_hint) in coap_get_session_server_psk_hint()
315 return session->psk_hint; in coap_get_session_server_psk_hint()
/third_party/libcoap/include/coap3/
Dcoap_session_internal.h136 coap_bin_const_t *psk_hint; /**< If client, this field contains the member
278 const coap_bin_const_t *psk_hint);
/third_party/openssl/doc/man1/
Dopenssl-s_server.pod.in116 [B<-psk_hint> I<val>]
693 =item B<-psk_hint> I<val>