-
Notifications
You must be signed in to change notification settings - Fork 0
/
chacha.opam
36 lines (35 loc) · 1.09 KB
/
chacha.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
32
33
34
35
36
opam-version: "2.0"
homepage: "https://github.com/abeaumont/ocaml-chacha"
dev-repo: "git+https://github.com/abeaumont/ocaml-chacha.git"
bug-reports: "https://github.com/abeaumont/ocaml-chacha/issues"
doc: "https://abeaumont.github.io/ocaml-chacha/"
authors: "Alfredo Beaumont <alfredo.beaumont@gmail.com>"
maintainer: "Alfredo Beaumont <alfredo.beaumont@gmail.com>"
license: "BSD-2-Clause"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"conf-pkg-config" {build}
"dune" {>= "1.8.0"}
"cstruct" {>= "6.0.0"}
"mirage-crypto"
"ocaml" {>= "4.02.0"}
"alcotest" {with-test}
]
depopts: [
"ocaml-freestanding"
"mirage-xen-posix"
]
conflicts: [
"mirage-xen-posix" {<"3.1.0"}
"ocaml-freestanding" {< "0.4.1"}
]
synopsis: "The Chacha functions, in OCaml"
description: """
An OCaml implementation of [ChaCha](https://cr.yp.to/chacha/chacha-20080120.pdf) functions,
both ChaCha20 and the reduced ChaCha8 and ChaCha12 functions.
The hot loop is implemented in C for efficiency reasons.
"""