-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrfc7748.opam
31 lines (30 loc) · 1.19 KB
/
rfc7748.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
opam-version: "2.0"
name: "rfc7748"
version: "1.0"
maintainer: ["Markus Rudy <[email protected]>"]
authors: ["Markus Rudy"]
homepage: "https://github.com/burgerdev/ocaml-rfc7748"
bug-reports: "https://github.com/burgerdev/ocaml-rfc7748/issues"
dev-repo: "git+https://github.com/burgerdev/ocaml-rfc7748.git"
license: "BSD"
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" { >= "4.03" }
"zarith" { >= "1.5" }
"dune" { build & >= "1.2.1" }
"ounit" { with-test & >= "2.0.5" }
"hex" { with-test & >= "1.2.0" }
]
synopsis: "Edwards Curves X25519 and X448 from RFC 7748"
description: """
This library implements the ECDH functions 'X25519' and 'X448' as specified in
RFC 7748, 'Elliptic curves for security'. In the spirit of the original
publications, the public API is kept as simple as possible to make it easy to
use and hard to misuse.
The current version is written in plain OCaml, leveraging Zarith for integer
arithmetic. While this makes the implementation straightforward and easy to
reason about, the performance is nowhere near that of DJB's implementation using
floating point registers (https://cr.yp.to/ecdh.html). """