11#ifndef MBEDTLS_SSL_DEBUG_HELPERS_H
12#define MBEDTLS_SSL_DEBUG_HELPERS_H
16#if defined(MBEDTLS_DEBUG_C)
24#if defined(MBEDTLS_SSL_EARLY_DATA) && defined(MBEDTLS_SSL_CLI_C)
25const char *mbedtls_ssl_early_data_status_str(mbedtls_ssl_early_data_status in);
26const char *mbedtls_ssl_early_data_state_str(mbedtls_ssl_early_data_state in);
35const char *mbedtls_ssl_sig_alg_to_str(
uint16_t in);
37const char *mbedtls_ssl_named_group_to_str(
uint16_t in);
39const char *mbedtls_ssl_get_extension_name(
unsigned int extension_type);
43 int hs_msg_type,
uint32_t extensions_mask,
48 int hs_msg_type,
unsigned int extension_type,
49 const char *extra_msg0,
const char *extra_msg1);
51#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && defined(MBEDTLS_SSL_SESSION_TICKETS)
57#define MBEDTLS_SSL_PRINT_EXTS(level, hs_msg_type, extensions_mask) \
58 mbedtls_ssl_print_extensions(ssl, level, __FILE__, __LINE__, \
59 hs_msg_type, extensions_mask, NULL)
61#define MBEDTLS_SSL_PRINT_EXT(level, hs_msg_type, extension_type, extra) \
62 mbedtls_ssl_print_extension(ssl, level, __FILE__, __LINE__, \
63 hs_msg_type, extension_type, \
66#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && defined(MBEDTLS_SSL_SESSION_TICKETS)
67#define MBEDTLS_SSL_PRINT_TICKET_FLAGS(level, flags) \
68 mbedtls_ssl_print_ticket_flags(ssl, level, __FILE__, __LINE__, flags)
73#define MBEDTLS_SSL_PRINT_EXTS(level, hs_msg_type, extension_mask)
75#define MBEDTLS_SSL_PRINT_EXT(level, hs_msg_type, extension_type, extra)
77#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && defined(MBEDTLS_SSL_SESSION_TICKETS)
78#define MBEDTLS_SSL_PRINT_TICKET_FLAGS(level, flags)
uint8_t flags
Definition virtio.h:0
unsigned int uint32_t
Definition acefiex.h:163
unsigned short int uint16_t
Definition acefiex.h:162
Utility macros for internal use in the library.
const char * level
Definition drm_print.h:515
mbedtls_tls_prf_types
Definition ssl.h:1378
mbedtls_ssl_states
Definition ssl.h:747
mbedtls_ssl_protocol_version
Definition ssl.h:1258
mbedtls_ssl_key_export_type
Definition ssl.h:1387
Internal functions shared by the SSL modules.