Archived. Curve25519 support has been integrated into mirage-crypto-ec (via fiat-crypto). Hacl bindings are available from the hacl-star opam package. OCaml bindings for HACL* elliptic curves
this exposes the function of_cstruct : Cstruct.t -> (secret * Cstruct.t, error) result to inject hardcoded (e.g. provided with test vectors) keys into the system. the documentation string attempts to be clear about its usage restrictions (only for testing).
thanks to @emillon, the of_cstruct is actually not needed since gen_key ~rng:(fun _ -> my_private) works as well. This PR now only syncs the opam file with the one in opam-repository. sorry for the noise.
this exposes the functionof_cstruct : Cstruct.t -> (secret * Cstruct.t, error) result
to inject hardcoded (e.g. provided with test vectors) keys into the system. the documentation string attempts to be clear about its usage restrictions (only for testing).