aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto_ops_builder/crypto_sign.h
blob: afed20821cf5839b3dc89f466a2767e5d7ab9c8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef crypto_sign_edwards25519sha512batch_H
#define crypto_sign_edwards25519sha512batch_H

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

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

#endif