aboutsummaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/ed25519_ref10.h
blob: fc10a26700d800b8905925d1133ea78be8531def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Added for Tor */
#ifndef SRC_EXT_ED25519_REF10_H_INCLUDED_
#define SRC_EXT_ED25519_REF10_H_INCLUDED_
#include <torint.h>

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