56 void buffer_to_str(
char *to_buff,
size_t to_len,
const char *buff,
size_t len) ;
57 void log_hexbuffer(
const std::string &msg,
const char* buff,
size_t len);
60 #ifdef WITH_DEVICE_LEDGER
64 #define TRACK printf("file %s:%d\n",__FILE__, __LINE__)
70 cryptonote::account_keys
decrypt(
const cryptonote::account_keys& keys) ;
72 rct::key
decrypt(
const rct::key &sec);
76 void check32(
const std::string &msg,
const std::string &
info,
const char *h,
const char *d,
bool crypted=
false);
77 void check8(
const std::string &msg,
const std::string &
info,
const char *h,
const char *d,
bool crypted=
false);
79 void set_check_verbose(
bool verbose);
void verbose(enum verbosity_value level, const char *format,...) ATTR_FORMAT(printf
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
void decrypt(const void *ciphertext, size_t length, const uint8_t *key, const uint8_t *iv, char *plaintext, size_t *plaintext_len)
void log_hexbuffer(const std::string &msg, const char *buff, size_t len)
void log_message(const std::string &msg, const std::string &info)
void buffer_to_str(char *to_buff, size_t to_len, const char *buff, size_t len)