Lines Matching refs:psk_hint
2823 const coap_bin_const_t *psk_hint;
2844 psk_hint = coap_get_session_server_psk_hint(session);
2845 if (psk_hint != NULL && psk_hint->length) {
2846 char *hint = OPENSSL_malloc(psk_hint->length + 1);
2849 memcpy(hint, psk_hint->s, psk_hint->length);
2850 hint[psk_hint->length] = '\000';
3344 const coap_bin_const_t *psk_hint;
3356 psk_hint = coap_get_session_server_psk_hint(session);
3357 if (psk_hint != NULL && psk_hint->length) {
3358 char *hint = OPENSSL_malloc(psk_hint->length + 1);
3361 memcpy(hint, psk_hint->s, psk_hint->length);
3362 hint[psk_hint->length] = '\000';