Lines Matching refs:level
59 static inline void debug_send_line( const mbedtls_ssl_context *ssl, int level, in debug_send_line() argument
71 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); in debug_send_line()
73 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str ); in debug_send_line()
78 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg() argument
89 level > debug_threshold ) in mbedtls_debug_print_msg()
104 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
107 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret() argument
116 level > debug_threshold ) in mbedtls_debug_print_ret()
132 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
135 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf() argument
146 level > debug_threshold ) in mbedtls_debug_print_buf()
154 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
168 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
190 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
195 void mbedtls_debug_print_ecp( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ecp() argument
204 level > debug_threshold ) in mbedtls_debug_print_ecp()
210 mbedtls_debug_print_mpi( ssl, level, file, line, str, &X->X ); in mbedtls_debug_print_ecp()
213 mbedtls_debug_print_mpi( ssl, level, file, line, str, &X->Y ); in mbedtls_debug_print_ecp()
218 void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_mpi() argument
230 level > debug_threshold ) in mbedtls_debug_print_mpi()
239 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_mpi()
261 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_mpi()
270 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_mpi()
276 static void debug_print_pk( const mbedtls_ssl_context *ssl, int level, in debug_print_pk() argument
288 debug_send_line( ssl, level, file, line, in debug_print_pk()
302 mbedtls_debug_print_mpi( ssl, level, file, line, name, items[i].value ); in debug_print_pk()
306 mbedtls_debug_print_ecp( ssl, level, file, line, name, items[i].value ); in debug_print_pk()
309 debug_send_line( ssl, level, file, line, in debug_print_pk()
314 static void debug_print_line_by_line( const mbedtls_ssl_context *ssl, int level, in debug_print_line_by_line() argument
332 debug_send_line( ssl, level, file, line, str ); in debug_print_line_by_line()
339 void mbedtls_debug_print_crt( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_crt() argument
350 level > debug_threshold ) in mbedtls_debug_print_crt()
360 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_crt()
363 debug_print_line_by_line( ssl, level, file, line, buf ); in mbedtls_debug_print_crt()
365 debug_print_pk( ssl, level, file, line, "crt->", &crt->pk ); in mbedtls_debug_print_crt()
374 int level, const char *file, in mbedtls_debug_printf_ecdh_internal() argument
388 mbedtls_debug_print_ecp( ssl, level, file, line, "ECDH: Q", in mbedtls_debug_printf_ecdh_internal()
392 mbedtls_debug_print_ecp( ssl, level, file, line, "ECDH: Qp", in mbedtls_debug_printf_ecdh_internal()
396 mbedtls_debug_print_mpi( ssl, level, file, line, "ECDH: z", in mbedtls_debug_printf_ecdh_internal()
404 void mbedtls_debug_printf_ecdh( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_printf_ecdh() argument
410 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, attr ); in mbedtls_debug_printf_ecdh()
415 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, in mbedtls_debug_printf_ecdh()