22 lines
322 B
C
22 lines
322 B
C
#ifndef __KGC_H__
|
|
#define __KGC_H__
|
|
|
|
#include "ecurve.h"
|
|
#include "miracl.h"
|
|
#include "mirdef.h"
|
|
#include <stdbool.h>
|
|
|
|
|
|
void genKGCkey(ECC_PARAMS *params, big msk, epoint *PK_pub);
|
|
|
|
_Bool genPPK_std(
|
|
ECC_PARAMS *params,
|
|
big msk,
|
|
epoint *PK_pub,
|
|
char ID[],
|
|
big d,
|
|
epoint *Q,
|
|
epoint *X
|
|
);
|
|
|
|
#endif |