mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
e0a03ca30a
various ed25519/ref10 api simplifications for our specific use case
13 lines
337 B
C
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
|
|
);
|