13 lines
615 B
C
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, void *toprint, int length);
|
|
void debug_print_bytes(__attribute__((unused)) const char* label, __attribute__((unused)) void *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 |