forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGES: - interface and expose Ed25519 code in the Hacl_ed25519 module (mirage/hacl#35 @hannesm) - update C code to hacl-star-raw 0.2.1, adds 32 bit support (mirage/hacl#36 @dinosaure) - provide Hacl_x25519.encode_secret and Hacl_ed25519.encode_priv (mirage/hacl#41 @hannesm)
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
opam-version: "2.0" | ||
synopsis: | ||
"Primitives for Elliptic Curve Cryptography taken from Project Everest" | ||
description: """ | ||
This is an implementation of the X25519 key exchange algorithm, using code from | ||
Project Everest. | ||
|
||
Cryptographic primitives should not be used in end applications, they are better | ||
used as part of a cryptographic library. | ||
""" | ||
maintainer: ["Etienne Millon <[email protected]>"] | ||
authors: [ | ||
"Etienne Millon <[email protected]>" "INRIA and Microsoft Corporation" | ||
] | ||
license: "MIT" | ||
homepage: "https://github.com/mirage/hacl" | ||
doc: "https://mirage.github.io/hacl/doc" | ||
bug-reports: "https://github.com/mirage/hacl/issues" | ||
depends: [ | ||
"benchmark" {with-test} | ||
"cstruct" {>= "3.5.0"} | ||
"dune" {>= "1.10.0"} | ||
"eqaf" | ||
"hex" {with-test} | ||
"alcotest" {with-test} | ||
"ocaml" | ||
"ppx_blob" {with-test} | ||
"ppx_deriving_yojson" {with-test} | ||
"stdlib-shims" {with-test} | ||
"yojson" {with-test & >= "1.6.0"} | ||
] | ||
depopts: ["mirage-xen-posix" "ocaml-freestanding"] | ||
conflicts: [ | ||
"mirage-xen-posix" {< "3.1.0"} | ||
"ocaml-freestanding" {< "0.6.0"} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/mirage/hacl.git" | ||
url { | ||
src: | ||
"https://github.com/mirage/hacl/releases/download/v0.2.0/hacl_x25519-v0.2.0.tbz" | ||
checksum: [ | ||
"sha256=9dcc31c9496483fed38d787f8328b313843eadf50a88c0d1f8bf432fa229f85e" | ||
"sha512=eee52643c8d155b26dae62b35d44bc16c9518cad689f28a788e6db1f147b3a996ed5aa2f6acf301c51ecf1bf8a0b19d7bc31b5f34774da1ffc5ea60c37fd24f2" | ||
] | ||
} |