ftu/debugprint.h
2022-09-09 02:47:49 -04:00

13 lines
615 B
C

#ifndef __DEBUGPRINT_H_
#define __DEBUGPRINT_H_
#include "blst/blst.h"
// Uncomment the line below to enable debug prints (including private keys!) - use for development only, this is insecure
#define INSECURE_CTM_DEBUG_PRINT
void print_bytes(const char* label, byte *toprint, int length);
void debug_print_bytes(__attribute__((unused)) const char* label, __attribute__((unused)) byte *toprint, __attribute__((unused)) int length);
void print_scalar(const char* label, blst_scalar *toprint);
void debug_print_scalar(__attribute__((unused)) const char* label, __attribute__((unused)) blst_scalar *toprint);
#endif