mariadb/plugin/auth_ed25519/crypto_sign.h
Sergei Golubchik e0a03ca30a ed25519 plugin: simplify the api
various ed25519/ref10 api simplifications for our specific use case
2017-03-10 18:21:28 +01:00

13 lines
337 B
C

int crypto_sign_keypair(
unsigned char *pk,
unsigned char *pw, unsigned long long pwlen
);
int crypto_sign(
unsigned char *sm,
const unsigned char *m, unsigned long long mlen,
const unsigned char *pw, unsigned long long pwlen
);
int crypto_sign_open(
unsigned char *sm, unsigned long long smlen,
const unsigned char *pk
);