mirage / hacl

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
https://github.com/mirage/mirage-crypto
Other
20 stars 5 forks source link

register ocaml as dependency #24

Closed hannesm closed 4 years ago

hannesm commented 4 years ago

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).

hannesm commented 4 years ago

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.