| 1 | #include <cross_platform.h> |
| 2 | |
| 3 | #ifndef crypto_sign_ed25519_H |
| 4 | #define crypto_sign_ed25519_H |
| 5 | |
| 6 | #define crypto_sign_ed25519_ref10_SECRETKEYBYTES 64 |
| 7 | #define crypto_sign_ed25519_ref10_PUBLICKEYBYTES 32 |
| 8 | #define crypto_sign_ed25519_ref10_BYTES 64 |
| 9 | #define crypto_sign_ed25519_ref10_DETERMINISTIC 1 |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | extern int INTERFACE crypto_sign_ed25519_ref10(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *); |
| 15 | extern int INTERFACE crypto_sign_ed25519_ref10_open(unsigned char *,unsigned long long *,const unsigned char *,unsigned long long,const unsigned char *); |
| 16 | extern int INTERFACE crypto_sign_ed25519_ref10_keypair(unsigned char *,unsigned char *); |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | |
| 21 | #define crypto_sign_ed25519 crypto_sign_ed25519_ref10 |
| 22 | #define crypto_sign_ed25519_open crypto_sign_ed25519_ref10_open |
| 23 | #define crypto_sign_ed25519_keypair crypto_sign_ed25519_ref10_keypair |
| 24 | #define crypto_sign_ed25519_BYTES crypto_sign_ed25519_ref10_BYTES |
| 25 | #define crypto_sign_ed25519_SECRETKEYBYTES crypto_sign_ed25519_ref10_SECRETKEYBYTES |
| 26 | #define crypto_sign_ed25519_PUBLICKEYBYTES crypto_sign_ed25519_ref10_PUBLICKEYBYTES |
| 27 | #define crypto_sign_ed25519_DETERMINISTIC crypto_sign_ed25519_ref10_DETERMINISTIC |
| 28 | #define crypto_sign_ed25519_IMPLEMENTATION "crypto_sign/ed25519/ref10" |
| 29 | #ifndef crypto_sign_ed25519_ref10_VERSION |
| 30 | #define crypto_sign_ed25519_ref10_VERSION "-" |
| 31 | #endif |
| 32 | #define crypto_sign_ed25519_VERSION crypto_sign_ed25519_ref10_VERSION |
| 33 | |
| 34 | #endif |