blob: 33a24bd6a4109194ddc71fc2f20aa8033181b108 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* Added for Tor */
#ifndef SRC_EXT_ED25519_REF10_H_INCLUDED_
#define SRC_EXT_ED25519_REF10_H_INCLUDED_
#include <torint.h>
int ed25519_ref10_seckey(unsigned char *sk);
int ed25519_ref10_pubkey(unsigned char *pk,const unsigned char *sk);
int ed25519_ref10_keygen(unsigned char *pk,unsigned char *sk);
int ed25519_ref10_open(
unsigned char *m,uint64_t *mlen,
const unsigned char *sm,uint64_t smlen,
const unsigned char *pk);
int ed25519_ref10_sign(
unsigned char *sm,uint64_t *smlen,
const unsigned char *m,uint64_t mlen,
const unsigned char *sk);
#endif
|