Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_openssl.c594 setup_data = &c_session->context->spsk_setup_data; in coap_dtls_psk_server_callback()
939 &c_context->spsk_setup_data); in coap_dtls_context_set_spsk()
944 &c_context->spsk_setup_data); in coap_dtls_context_set_spsk()
2036 (session->context->spsk_setup_data.psk_info.key.s && in tls_secret_call_back()
2037 session->context->spsk_setup_data.psk_info.key.length)) { in tls_secret_call_back()
2086 } else if (session->context->spsk_setup_data.psk_info.key.s && in tls_secret_call_back()
2087 session->context->spsk_setup_data.psk_info.key.length) { in tls_secret_call_back()
2088 memcpy(secret, session->context->spsk_setup_data.psk_info.key.s, in tls_secret_call_back()
2089 session->context->spsk_setup_data.psk_info.key.length); in tls_secret_call_back()
2090 *secretlen = session->context->spsk_setup_data.psk_info.key.length; in tls_secret_call_back()
[all …]
Dcoap_gnutls.c1463 if (c_session->context->spsk_setup_data.validate_sni_call_back) { in post_client_hello_gnutls_psk()
1515 c_session->context->spsk_setup_data.validate_sni_call_back(name, in post_client_hello_gnutls_psk()
1517 c_session->context->spsk_setup_data.sni_call_back_arg); in post_client_hello_gnutls_psk()
1531 sni_setup_data = c_session->context->spsk_setup_data; in post_client_hello_gnutls_psk()
1789 setup_data = &c_session->context->spsk_setup_data; in psk_server_callback()
1836 &c_session->context->spsk_setup_data), in setup_server_ssl_session()
Dcoap_mbedtls.c278 setup_data = &c_session->context->spsk_setup_data; in psk_server_callback()
906 c_session->context->spsk_setup_data.validate_sni_call_back(name, in psk_sni_callback()
908 c_session->context->spsk_setup_data.sni_call_back_arg); in psk_sni_callback()
970 if (c_session->context->spsk_setup_data.validate_sni_call_back) { in setup_server_ssl_session()
Dcoap_net.c304 if (session->context->spsk_setup_data.psk_info.key.length) in coap_get_session_server_psk_key()
305 return &session->context->spsk_setup_data.psk_info.key; in coap_get_session_server_psk_key()
317 if (session->context->spsk_setup_data.psk_info.hint.length) in coap_get_session_server_psk_hint()
318 return &session->context->spsk_setup_data.psk_info.hint; in coap_get_session_server_psk_hint()
350 ctx->spsk_setup_data = *setup_data; in coap_context_set_psk2()
Dcoap_tinydtls.c481 setup_sdata = &coap_session->context->spsk_setup_data; in get_psk_info()
/third_party/libcoap/include/coap3/
Dcoap_net_internal.h143 coap_dtls_spsk_t spsk_setup_data; /**< Contains the initial PSK server setup member