Atmel Software Framework

thirdparty/polarssl/include/polarssl/debug.h File Reference
#include "polarssl/config.h"
#include "polarssl/ssl.h"

Macros

#define SSL_DEBUG_BUF(level, text, buf, len)   do { } while( 0 )
 
#define SSL_DEBUG_CRT(level, text, crt)   do { } while( 0 )
 
#define SSL_DEBUG_MPI(level, text, X)   do { } while( 0 )
 
#define SSL_DEBUG_MSG(level, args)   do { } while( 0 )
 
#define SSL_DEBUG_RET(level, text, ret)   do { } while( 0 )
 

Functions

char * debug_fmt (const char *format,...)
 
void debug_print_buf (const ssl_context *ssl, int level, const char *file, int line, const char *text, unsigned char *buf, int len)
 
void debug_print_crt (const ssl_context *ssl, int level, const char *file, int line, const char *text, const x509_cert *crt)
 
void debug_print_mpi (const ssl_context *ssl, int level, const char *file, int line, const char *text, const mpi *X)
 
void debug_print_msg (const ssl_context *ssl, int level, const char *file, int line, const char *text)
 
void debug_print_ret (const ssl_context *ssl, int level, const char *file, int line, const char *text, int ret)
 

#define SSL_DEBUG_BUF (   level,
  text,
  buf,
  len 
)    do { } while( 0 )
#define SSL_DEBUG_CRT (   level,
  text,
  crt 
)    do { } while( 0 )
#define SSL_DEBUG_MPI (   level,
  text,
 
)    do { } while( 0 )
#define SSL_DEBUG_MSG (   level,
  args 
)    do { } while( 0 )
#define SSL_DEBUG_RET (   level,
  text,
  ret 
)    do { } while( 0 )

char* debug_fmt ( const char *  format,
  ... 
)
void debug_print_buf ( const ssl_context ssl,
int  level,
const char *  file,
int  line,
const char *  text,
unsigned char *  buf,
int  len 
)
void debug_print_crt ( const ssl_context ssl,
int  level,
const char *  file,
int  line,
const char *  text,
const x509_cert crt 
)
void debug_print_mpi ( const ssl_context ssl,
int  level,
const char *  file,
int  line,
const char *  text,
const mpi X 
)
void debug_print_msg ( const ssl_context ssl,
int  level,
const char *  file,
int  line,
const char *  text 
)
void debug_print_ret ( const ssl_context ssl,
int  level,
const char *  file,
int  line,
const char *  text,
int  ret 
)