nisse@lysator.liu.se (Niels Möller) writes:
void ed25519_sha512_public_key (uint8_t *pub, const uint8_t *priv);
void ed25519_sha512_sign (const uint8_t *priv, const uint8_t *pub, size_t length, const uint8_t *msg, uint8_t *signature);
int ed25519_sha512_verify (const uint8_t *pub, size_t length, const uint8_t *msg, const uint8_t *signature);
I've made this change now (except that I switched the argument order of ed25519_sha512_sign). I think it's the simplest interface that is reasonably efficient. If there is any need for higher performance in the case of many signature verify operations using the same public key, a new function could be added later.
Regards, /Niels