Module Curve25519_64.Noalloc
Versions of these functions which write their output in a buffer passed in as an argument
val secret_to_public : sk:bytes -> pk:bytes -> unit
secret_to_public sk pk
takes a 32-byte secret keysk
and writes the corresponding 32-byte ECDH public key inpk
. Bufferspk
andsk
must be distinct.