Depend on sqlite3 and add utility
[trust_router.git] / include / tr_dh.h
index a81f64c..dd4d711 100644 (file)
@@ -44,4 +44,8 @@ TR_EXPORT DH *tr_create_matching_dh(unsigned char *key, size_t len, DH *in_dh);
 TR_EXPORT void tr_destroy_dh_params(DH *dh);
 TR_EXPORT int tr_compute_dh_key(unsigned char *buf, size_t buflen, BIGNUM *pub_key, DH *priv_dh);
 
+
+TR_EXPORT void tr_bin_to_hex(const unsigned char * bin, size_t binlen,
+                            char * hex_out, size_t hex_len);
+
 #endif