23#include "libssh/priv.h" 
   32#define ED25519_PK_LEN 32 
   33#define ED25519_SK_LEN 64 
   34#define ED25519_SIG_LEN 64 
   36typedef uint8_t ed25519_pubkey[ED25519_PK_LEN];
 
   37typedef uint8_t ed25519_privkey[ED25519_SK_LEN];
 
   38typedef uint8_t ed25519_signature[ED25519_SIG_LEN];
 
   50int crypto_sign_ed25519_keypair(ed25519_pubkey pk, ed25519_privkey sk);
 
   62int crypto_sign_ed25519(
 
   63    unsigned char *sm, uint64_t *smlen,
 
   64    const unsigned char *m, uint64_t mlen,
 
   65    const ed25519_privkey sk);
 
   77int crypto_sign_ed25519_open(
 
   78    unsigned char *m, uint64_t *mlen,
 
   79    const unsigned char *sm, uint64_t smlen,
 
   80    const ed25519_pubkey pk);