Electroneum
crypto_sign.h File Reference

Go to the source code of this file.

Macros

#define SECRETKEYBYTES   64
 
#define PUBLICKEYBYTES   32
 
#define SIGNATUREBYTES   64
 

Functions

int crypto_sign (unsigned char *, unsigned long long *, const unsigned char *, unsigned long long, const unsigned char *)
 
int crypto_sign_open (unsigned char *, unsigned long long *, const unsigned char *, unsigned long long, const unsigned char *)
 
int crypto_sign_keypair (unsigned char *, unsigned char *)
 
int crypto_sign_publickey (unsigned char *pk, unsigned char *sk, unsigned char *seed)
 

Macro Definition Documentation

◆ PUBLICKEYBYTES

#define PUBLICKEYBYTES   32

Definition at line 5 of file crypto_sign.h.

◆ SECRETKEYBYTES

#define SECRETKEYBYTES   64

Definition at line 4 of file crypto_sign.h.

◆ SIGNATUREBYTES

#define SIGNATUREBYTES   64

Definition at line 6 of file crypto_sign.h.

Function Documentation

◆ crypto_sign()

int crypto_sign ( unsigned char *  ,
unsigned long long *  ,
const unsigned char *  ,
unsigned long  long,
const unsigned char *   
)

◆ crypto_sign_keypair()

int crypto_sign_keypair ( unsigned char *  ,
unsigned char *   
)

◆ crypto_sign_open()

int crypto_sign_open ( unsigned char *  ,
unsigned long long *  ,
const unsigned char *  ,
unsigned long  long,
const unsigned char *   
)

◆ crypto_sign_publickey()

int crypto_sign_publickey ( unsigned char *  pk,
unsigned char *  sk,
unsigned char *  seed 
)