24 lines
411 B
C
24 lines
411 B
C
#ifndef __UNTILS_H__
|
|
#define __UNTILS_H__
|
|
|
|
|
|
#include "miracl.h"
|
|
#include "mirdef.h"
|
|
#include "ecurve.h"
|
|
|
|
void outbig(big num, char *val_name);
|
|
|
|
void outpoint(epoint *PO, char *val_name);
|
|
|
|
void setRandSeed();
|
|
|
|
void sha256_update_string(sha256 sh, const char *data, long data_len);
|
|
|
|
void sha256_update_point(sha256 sh, epoint *point);
|
|
|
|
void genSecret(ECC_PARAMS *params, big x, epoint *X);
|
|
|
|
bool Setup();
|
|
|
|
|
|
#endif |