56 void buffer_to_str(
char *to_buff,
size_t to_len,
const char *buff,
size_t len) ;
60 #ifdef WITH_DEVICE_LEDGER 64 #define TRACK printf("file %s:%d\n",__FILE__, __LINE__) 79 void set_check_verbose(
bool verbose);
void log_hexbuffer(const std::string &msg, const char *buff, size_t len)
void buffer_to_str(char *to_buff, size_t to_len, const char *buff, size_t len)
void decrypt(const void *ciphertext, size_t length, const uint8_t *key, const uint8_t *iv, char *plaintext, size_t *plaintext_len)
void log_message(const std::string &msg, const std::string &info)
void verbose(enum verbosity_value level, const char *format,...) ATTR_FORMAT(printf