Mirage_crypto_ecMirage-crypto-ec implements public key cryptography with named elliptic curves. Ephemeral key exchanges with Diffie-Hellman and digital signatures (ECDSA) are implemented.
The arithmetic operations uses code generated by fiat-crypto which is proven to consume a constant amount of time, independent of the input values.
val pp_error : Stdlib.Format.formatter -> error -> unitPretty printer for errors
module type Dh = sig ... endDiffie-Hellman key exchange.
module type Dsa = sig ... endDigital signature algorithm.
module type Dh_dsa = sig ... endElliptic curve with Diffie-Hellman and DSA.
module Ed25519 : sig ... endCurve 25519 DSA, also known as Ed25519.