Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Use non swappable, non movable memory to store secrets #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .merlin
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ PKG bytes
PKG ctypes.stubs
PKG ocamlbuild
PKG oUnit
PKG memcpy
2 changes: 1 addition & 1 deletion lib/META
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version = "0.5.0"
description = "Binding to libsodium, a shared library wrapper for djb's NaCl"
requires = "bigarray bytes ctypes.stubs"
requires = "bigarray bytes ctypes.stubs memcpy"
archive(byte) = "sodium.cma"
archive(native) = "sodium.cmxa"
exists_if = "sodium.cma"
2 changes: 1 addition & 1 deletion lib/_tags
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<*.{ml,mli}>: package(bytes), package(bigarray), package(ctypes.stubs)
<*.{ml,mli}>: package(bytes), package(bigarray), package(ctypes.stubs), package(memcpy)
<*.{cma,cmxa}>: use_sodium_stubs
<libsodium_stubs.*>: use_sodium
<*.c>: use_ctypes, use_sodium
Loading