/third_party/libcoap/src/ |
H A D | coap_tinydtls.c | 43 struct dtls_context_t *dtls_context; member 169 if (c_session && c_session->context && c_session->context->dtls_context) { in coap_dtls_get_tls() 171 (const coap_tiny_context_t *)c_session->context->dtls_context; in coap_dtls_get_tls() 173 return t_context->dtls_context; in coap_dtls_get_tls() 290 dtls_send_to_peer(struct dtls_context_t *dtls_context, in dtls_send_to_peer() argument 293 (coap_tiny_context_t *)dtls_get_app_data(dtls_context); in dtls_send_to_peer() 310 dtls_application_data(struct dtls_context_t *dtls_context, in dtls_application_data() argument 313 (coap_tiny_context_t *)dtls_get_app_data(dtls_context); in dtls_application_data() 332 dtls_event(struct dtls_context_t *dtls_context, in dtls_event() argument 336 (void)dtls_context; in dtls_event() 370 get_psk_info(struct dtls_context_t *dtls_context, const session_t *dtls_session, dtls_credentials_type_t type, const uint8_t *id, size_t id_len, unsigned char *result, size_t result_length) get_psk_info() argument 546 get_ecdsa_key(struct dtls_context_t *dtls_context, const session_t *dtls_session COAP_UNUSED, const dtls_ecdsa_key_t **result) get_ecdsa_key() argument 646 struct dtls_context_t *dtls_context = t_context ? dtls_new_context(t_context) : NULL; coap_dtls_new_context() local 710 dtls_context_t *dtls_context = t_context ? t_context->dtls_context : NULL; coap_dtls_new_client_session() local 747 dtls_context_t *dtls_context = t_context ? t_context->dtls_context : NULL; coap_dtls_free_session() local 771 dtls_context_t *dtls_context = t_context ? t_context->dtls_context : NULL; coap_dtls_send() local 814 dtls_context_t *dtls_context = t_context ? t_context->dtls_context : NULL; coap_dtls_get_context_timeout() local 849 dtls_context_t *dtls_context = t_context ? t_context->dtls_context : NULL; coap_dtls_receive() local 882 dtls_context_t *dtls_context = t_context ? t_context->dtls_context : NULL; coap_dtls_hello() local [all...] |
H A D | coap_gnutls.c | 24 * g_context A coap_gnutls_context_t * (held in c_context->dtls_context) 299 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_pki() 345 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_pki_root_cas() 388 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_spsk() 408 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_cpsk() 425 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_check_keys_enabled() 574 g_context = (coap_gnutls_context_t *)c_session->context->dtls_context; in psk_client_callback() 779 (coap_gnutls_context_t *)c_session->context->dtls_context; in cert_verify_gnutls() 1458 (coap_gnutls_context_t *)c_session->context->dtls_context; in post_client_hello_gnutls_psk() 1572 (coap_gnutls_context_t *)c_session->context->dtls_context; in post_client_hello_gnutls_pki() [all...] |
H A D | coap_openssl.c | 512 o_context = (coap_openssl_context_t *)c_session->context->dtls_context; in coap_dtls_psk_client_callback() 915 ((coap_openssl_context_t *)c_context->dtls_context); in coap_dtls_context_set_spsk() 987 ((coap_openssl_context_t *)c_context->dtls_context); in coap_dtls_context_set_cpsk() 1919 ((coap_openssl_context_t *)session->context->dtls_context); in tls_verify_call_back() 2126 ((coap_openssl_context_t *)session->context->dtls_context); in tls_server_name_call_back() 2222 ((coap_openssl_context_t *)c_session->context->dtls_context); in psk_tls_server_name_call_back() 2321 coap_openssl_context_t *dtls_context; in tls_client_hello_call_back() local 2334 assert(session->context->dtls_context != NULL); in tls_client_hello_call_back() 2337 session->context->dtls_context == NULL) { in tls_client_hello_call_back() 2341 dtls_context in tls_client_hello_call_back() 3079 coap_dtls_get_context_timeout(void *dtls_context) coap_dtls_get_context_timeout() argument [all...] |
H A D | coap_mbedtls.c | 24 * m_context A coap_mbedtls_context_t * (held in c_context->dtls_context) 343 (coap_mbedtls_context_t *)c_session->context->dtls_context; in self_signed_cert_verify_callback_mbedtls() 363 (coap_mbedtls_context_t *)c_session->context->dtls_context; in cert_verify_callback_mbedtls() 803 (coap_mbedtls_context_t *)c_session->context->dtls_context; in pki_sni_callback() 882 (coap_mbedtls_context_t *)c_session->context->dtls_context; in psk_sni_callback() 944 (coap_mbedtls_context_t *)c_session->context->dtls_context; in setup_server_ssl_session() 1123 (coap_mbedtls_context_t *)c_session->context->dtls_context; 1669 ((coap_mbedtls_context_t *)c_context->dtls_context); 1704 ((coap_mbedtls_context_t *)c_context->dtls_context); 1723 ((coap_mbedtls_context_t *)c_context->dtls_context); 1790 coap_dtls_free_context(void *dtls_context) global() argument [all...] |
H A D | coap_notls.c | 188 coap_dtls_get_context_timeout(void *dtls_context COAP_UNUSED) { in coap_dtls_get_context_timeout()
|
H A D | coap_net.c | 528 c->dtls_context = coap_dtls_new_context(c); in coap_new_context() 529 if (!c->dtls_context) { in coap_new_context() 627 if (context->dtls_context) in coap_free_context() 628 coap_dtls_free_context(context->dtls_context); in coap_free_context()
|
H A D | coap_io.c | 1396 if (ctx->dtls_context) { 1398 coap_tick_t tls_timeout = coap_dtls_get_context_timeout(ctx->dtls_context);
|
/third_party/libcoap/include/coap3/ |
H A D | coap_dtls_internal.h | 136 * Releases the storage allocated for @p dtls_context. 138 * @param dtls_context The DTLS context as returned by coap_dtls_new_context(). 140 void coap_dtls_free_context(void *dtls_context); 210 * @param dtls_context The DTLS context. 214 coap_tick_t coap_dtls_get_context_timeout(void *dtls_context);
|
H A D | coap_net_internal.h | 140 void *dtls_context; member
|
/third_party/mbedtls/tests/src/test_helpers/ |
H A D | ssl_helpers.c | 735 mbedtls_test_message_socket_context *dtls_context, in mbedtls_test_ssl_endpoint_init() 742 if (dtls_context != NULL && in mbedtls_test_ssl_endpoint_init() 771 if (dtls_context != NULL) { in mbedtls_test_ssl_endpoint_init() 774 dtls_context) == 0); in mbedtls_test_ssl_endpoint_init() 780 if (dtls_context != NULL) { in mbedtls_test_ssl_endpoint_init() 781 mbedtls_ssl_set_bio(&(ep->ssl), dtls_context, in mbedtls_test_ssl_endpoint_init() 793 (dtls_context != NULL) ? in mbedtls_test_ssl_endpoint_init() 856 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && dtls_context != NULL) { in mbedtls_test_ssl_endpoint_init() 732 mbedtls_test_ssl_endpoint_init( mbedtls_test_ssl_endpoint *ep, int endpoint_type, mbedtls_test_handshake_test_options *options, mbedtls_test_message_socket_context *dtls_context, mbedtls_test_ssl_message_queue *input_queue, mbedtls_test_ssl_message_queue *output_queue) mbedtls_test_ssl_endpoint_init() argument
|
/third_party/libcoap/examples/lwip/config/ |
H A D | lwippools.h | 31 struct dtls_context_t *dtls_context; member
|
/third_party/mbedtls/tests/include/test/ |
H A D | ssl_helpers.h | 449 * \p dtls_context - in case of DTLS - this is the context handling metadata. 458 mbedtls_test_message_socket_context *dtls_context,
|