aboutsummaryrefslogtreecommitdiff
path: root/lib/ed25519_additions.h
blob: e5f93a1cc4f2cd76d706e6324fe62111ad739bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef ED25519_ADDITIONS_H
#define ED25519_ADDITIONS_H

#ifdef __cplusplus
extern "C" {
#endif

void convert_curve25519_to_ed25519(
    unsigned char * public_key,
    unsigned char * signature);

void convert_ed25519_to_curve25519(
    unsigned char const * public_key,
    unsigned char * signature);

void ed25519_keypair(
    unsigned char * private_key,
    unsigned char * public_key);

#ifdef __cplusplus
}
#endif

#endif