2013-01-11 18:54:40 -05:00
|
|
|
#ifndef ED25519_H
|
|
|
|
#define ED25519_H
|
|
|
|
|
2013-01-21 16:50:09 -05:00
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
int ed25519_sign(unsigned char *signature, const unsigned char *message, size_t message_len, const unsigned char *sign_key);
|
|
|
|
int ed25519_verify(const unsigned char *signature, const unsigned char *message, size_t message_len, const unsigned char *verify_key);
|
2013-01-11 18:54:40 -05:00
|
|
|
int ed25519_create_keypair(unsigned char *verify_key, unsigned char *sign_key, unsigned char *seed);
|
|
|
|
|
|
|
|
#ifndef ED25519_NO_SEED
|
|
|
|
int ed25519_create_seed(unsigned char *seed);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|