Hacl.Ed25519Portable implementation
See here for detailed usage instructions.
type bytes = SharedDefs.CBytes.tsecret_to_public sk takes a secret key sk and returns the corresponding public key.
sign sk msg takes secret key sk and message msg and returns the Ed25519 signature.
verify pk msg signature takes public key pk, message msg and verifies the Ed25519 signature, returning true if valid.
expand_keys sk takes secret key sk and returns the expanded secret key.
sign_expanded ks msg signature takes expanded secret key ks and message msg and returns the Ed25519 signature.
module Noalloc : sig ... endVersions of these functions which write their output in a buffer passed in as an argument