10#ifndef MBEDTLS_DEBUG_INTERNAL_H
11#define MBEDTLS_DEBUG_INTERNAL_H
31 const char *
file,
int line,
50 const
char *
file,
int line,
51 const
char *text,
int ret);
71 const
char *
file,
int line, const
char *text,
72 const
unsigned char *buf,
size_t len);
74#if defined(MBEDTLS_BIGNUM_C)
92 const char *
file,
int line,
96#if defined(MBEDTLS_ECP_LIGHT)
114 const char *
file,
int line,
118#if defined(MBEDTLS_X509_CRT_PARSE_C) && !defined(MBEDTLS_X509_REMOVE_INFO)
135 const char *
file,
int line,
141#if defined(MBEDTLS_KEY_EXCHANGE_SOME_ECDH_OR_ECDHE_ANY_ENABLED) && \
142 defined(MBEDTLS_ECDH_C)
144 MBEDTLS_DEBUG_ECDH_Q,
145 MBEDTLS_DEBUG_ECDH_QP,
146 MBEDTLS_DEBUG_ECDH_Z,
147} mbedtls_debug_ecdh_attr;
166 const char *
file,
int line,
168 mbedtls_debug_ecdh_attr attr);
Functions for controlling and providing debug output from the library.
#define MBEDTLS_PRINTF_ATTRIBUTE(string_index, first_to_check)
Definition debug.h:96
void mbedtls_debug_print_buf(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, const unsigned char *buf, size_t len)
Output a buffer of size len bytes to the debug output. This function is always used through the MBEDT...
void void mbedtls_debug_print_ret(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *text, int ret)
Print the return value of a function to the debug output. This function is always used through the MB...
void mbedtls_debug_print_msg(const mbedtls_ssl_context *ssl, int level, const char *file, int line, const char *format,...) MBEDTLS_PRINTF_ATTRIBUTE(5
Print a message to the debug output. This function is always used through the MBEDTLS_SSL_DEBUG_MSG()...
const char const char * format
Definition drm_print.h:516
const char * level
Definition drm_print.h:515
size_t len
Definition initial.c:23
The ECDH context structure.
Definition ecdh.h:105
The ECP point structure, in Jacobian coordinates.
Definition ecp.h:158
MPI structure.
Definition bignum.h:208