Mercurial > dropbear
comparison dbutil.h @ 346:ed24dfc44904 debug-unrandom
add some debugging of mpints
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 04 Aug 2006 17:15:35 +0000 |
parents | 044bc108b9b3 |
children |
comparison
equal
deleted
inserted
replaced
345:959c66ccf1b5 | 346:ed24dfc44904 |
---|---|
41 void dropbear_log(int priority, const char* format, ...); | 41 void dropbear_log(int priority, const char* format, ...); |
42 void fail_assert(const char* expr, const char* file, int line); | 42 void fail_assert(const char* expr, const char* file, int line); |
43 #ifdef DEBUG_TRACE | 43 #ifdef DEBUG_TRACE |
44 void dropbear_trace(const char* format, ...); | 44 void dropbear_trace(const char* format, ...); |
45 void printhex(const char * label, const unsigned char * buf, int len); | 45 void printhex(const char * label, const unsigned char * buf, int len); |
46 void print_mp_int(const char * label, mp_int *mp); | |
46 extern int debug_trace; | 47 extern int debug_trace; |
47 #endif | 48 #endif |
48 char * stripcontrol(const char * text); | 49 char * stripcontrol(const char * text); |
49 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport); | 50 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport); |
50 int dropbear_listen(const char* address, const char* port, | 51 int dropbear_listen(const char* address, const char* port, |