Searched refs:dtls_context (Results 1 – 11 of 11) sorted by relevance
30 struct dtls_context_t *dtls_context; member61 if (c_session && c_session->context && c_session->context->dtls_context) { in coap_dtls_get_tls()63 (const coap_tiny_context_t *)c_session->context->dtls_context; in coap_dtls_get_tls()65 return t_context->dtls_context; in coap_dtls_get_tls()118 dtls_send_to_peer(struct dtls_context_t *dtls_context, in dtls_send_to_peer() argument121 (coap_tiny_context_t *)dtls_get_app_data(dtls_context); in dtls_send_to_peer()137 dtls_application_data(struct dtls_context_t *dtls_context, in dtls_application_data() argument140 (coap_tiny_context_t *)dtls_get_app_data(dtls_context); in dtls_application_data()160 dtls_event(struct dtls_context_t *dtls_context, in dtls_event() argument164 (void)dtls_context; in dtls_event()[all …]
246 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_pki()294 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_pki_root_cas()338 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_spsk()356 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_set_cpsk()373 ((coap_gnutls_context_t *)c_context->dtls_context); in coap_dtls_context_check_keys_enabled()535 g_context = (coap_gnutls_context_t *)c_session->context->dtls_context; in psk_client_callback()754 (coap_gnutls_context_t *)c_session->context->dtls_context; in cert_verify_gnutls()1472 (coap_gnutls_context_t *)c_session->context->dtls_context; in post_client_hello_gnutls_psk()1587 (coap_gnutls_context_t *)c_session->context->dtls_context; in post_client_hello_gnutls_pki()1696 (coap_gnutls_context_t *)c_session->context->dtls_context; in setup_client_ssl_session()[all …]
431 o_context = (coap_openssl_context_t *)c_session->context->dtls_context; in coap_dtls_psk_client_callback()797 ((coap_openssl_context_t *)c_context->dtls_context); in coap_dtls_context_set_spsk()867 ((coap_openssl_context_t *)c_context->dtls_context); in coap_dtls_context_set_cpsk()1847 ((coap_openssl_context_t *)session->context->dtls_context); in tls_verify_call_back()2061 ((coap_openssl_context_t *)session->context->dtls_context); in tls_server_name_call_back()2157 ((coap_openssl_context_t *)c_session->context->dtls_context); in psk_tls_server_name_call_back()2256 coap_openssl_context_t *dtls_context; in tls_client_hello_call_back() local2269 assert(session->context->dtls_context != NULL); in tls_client_hello_call_back()2272 session->context->dtls_context == NULL) { in tls_client_hello_call_back()2276 dtls_context = (coap_openssl_context_t *)session->context->dtls_context; in tls_client_hello_call_back()[all …]
305 (coap_mbedtls_context_t *)c_session->context->dtls_context; in cert_verify_callback_mbedtls()743 (coap_mbedtls_context_t *)c_session->context->dtls_context; in pki_sni_callback()824 (coap_mbedtls_context_t *)c_session->context->dtls_context; in psk_sni_callback()887 (coap_mbedtls_context_t *)c_session->context->dtls_context; in setup_server_ssl_session()1036 (coap_mbedtls_context_t *)c_session->context->dtls_context; in setup_client_ssl_session()1372 ((coap_mbedtls_context_t *)c_context->dtls_context); in coap_dtls_context_set_spsk()1402 ((coap_mbedtls_context_t *)c_context->dtls_context); in coap_dtls_context_set_cpsk()1420 ((coap_mbedtls_context_t *)c_context->dtls_context); in coap_dtls_context_set_pki()1446 ((coap_mbedtls_context_t *)c_context->dtls_context); in coap_dtls_context_set_pki_root_cas()1484 ((coap_mbedtls_context_t *)c_context->dtls_context); in coap_dtls_context_check_keys_enabled()[all …]
132 coap_tick_t coap_dtls_get_context_timeout(void *dtls_context COAP_UNUSED) { in coap_dtls_get_context_timeout()
1301 if (ctx->dtls_context) {1303 coap_tick_t tls_timeout = coap_dtls_get_context_timeout(ctx->dtls_context);
574 c->dtls_context = coap_dtls_new_context(c); in coap_new_context()575 if (!c->dtls_context) { in coap_new_context()667 if (context->dtls_context) in coap_free_context()668 coap_dtls_free_context(context->dtls_context); in coap_free_context()
129 void coap_dtls_free_context(void *dtls_context);199 coap_tick_t coap_dtls_get_context_timeout(void *dtls_context);
110 void *dtls_context; member
164 TinyDTLS: struct dtls_context*
876 * \p dtls_context - in case of DTLS - this is the context handling metadata.883 mbedtls_test_message_socket_context *dtls_context,889 if( dtls_context != NULL && ( input_queue == NULL || output_queue == NULL ) )906 if( dtls_context != NULL )910 dtls_context ) == 0 );923 if( dtls_context != NULL )925 mbedtls_ssl_set_bio( &( ep->ssl ), dtls_context,939 ( dtls_context != NULL ) ?949 if( endpoint_type == MBEDTLS_SSL_IS_SERVER && dtls_context != NULL )