2022-05-31 02:11:40 +03:00
|
|
|
int crypto_sign_seckey(unsigned char *sk);
|
|
|
|
int crypto_sign_seckey_expand(unsigned char *sk,const unsigned char *seed);
|
|
|
|
int crypto_sign_pubkey(unsigned char *pk,const unsigned char *sk);
|
|
|
|
int crypto_sign_keypair(unsigned char *pk,unsigned char *sk);
|
|
|
|
int crypto_sign(
|
2017-09-27 15:41:59 +03:00
|
|
|
unsigned char *sm,unsigned long long *smlen,
|
|
|
|
const unsigned char *m,unsigned long long mlen,
|
|
|
|
const unsigned char *sk
|
|
|
|
);
|
2022-05-31 02:11:40 +03:00
|
|
|
int crypto_sign_open(
|
2017-09-27 15:41:59 +03:00
|
|
|
unsigned char *m,unsigned long long *mlen,
|
|
|
|
const unsigned char *sm,unsigned long long smlen,
|
|
|
|
const unsigned char *pk
|
|
|
|
);
|
2022-05-31 02:11:40 +03:00
|
|
|
int crypto_sign_open_batch(
|
2017-09-27 15:41:59 +03:00
|
|
|
unsigned char* const m[],unsigned long long mlen[],
|
|
|
|
unsigned char* const sm[],const unsigned long long smlen[],
|
2022-05-31 02:11:40 +03:00
|
|
|
unsigned char* const pk[],
|
2017-09-27 15:41:59 +03:00
|
|
|
unsigned long long num
|
|
|
|
);
|