Electroneum
Macros | Functions
crypto_sign.h File Reference
This graph shows which files directly or indirectly include this file:

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

◆ SECRETKEYBYTES

#define SECRETKEYBYTES   64

◆ SIGNATUREBYTES

#define SIGNATUREBYTES   64

Function Documentation

◆ crypto_sign()

int crypto_sign ( unsigned char *  sm,
unsigned long long *  smlen,
const unsigned char *  m,
unsigned long long  mlen,
const unsigned char *  sk 
)

◆ crypto_sign_keypair()

int crypto_sign_keypair ( unsigned char *  pk,
unsigned char *  sk 
)

◆ crypto_sign_open()

int crypto_sign_open ( unsigned char *  m,
unsigned long long *  mlen,
const unsigned char *  sm,
unsigned long long  smlen,
const unsigned char *  pk 
)

◆ crypto_sign_publickey()

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