README
1This plugin uses public domain ed25519 code
2by Daniel J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe, Bo-Yin Yang.
3
4It is "ref10" implementation from the SUPERCOP:
5https://bench.cr.yp.to/supercop.html
6
7OpenSSH also uses ed25519 from SUPERCOP, but "ref" implementation.
8
9There are four ed25519 implementations in SUPERCOP, ref10 is faster then ref,
10and there are two that are even faster, written in amd64 assembler.
11Benchmarks are here: https://bench.cr.yp.to/impl-sign/ed25519.html
12
13==============================
14MariaDB changes:
15
16API functions were simplified to better fit our use case:
17* crypto_sign_open() does not return the verified message, only the
18 result of the verification (passed/failed)
19* no secret key is generated explicitly, user specified password is used
20 as a source of randomness instead (SHA512("user password")).
21* lengths are not returned, where they're known in advance
22 (e.g. from crypto_sign()).
23* crypto_sign() does not take the public key as an argument, but
24 generates it on the fly (we used to generate public key before
25 crypto_sign(), doing it internally avoids double work).
26
27See the changes done in this commit.
28