lib_crypto: export neuterize and public_key equality

This commit is contained in:
Julien Tesson 2018-10-16 15:38:12 +02:00 committed by Grégoire Henry
parent 1e5c6da307
commit 71e708830d
No known key found for this signature in database
GPG Key ID: 50D984F20BD445D2
2 changed files with 5 additions and 0 deletions

View File

@ -208,3 +208,5 @@ let secret_key_encoding =
let nonce_encoding =
Data_encoding.Fixed.bytes nonce_size
let neuterize : secret_key -> public_key = Box.neuterize
let equal : public_key -> public_key -> bool = Box.equal

View File

@ -92,3 +92,6 @@ val secret_key_size : int
val public_key_encoding : public_key Data_encoding.t
val secret_key_encoding : secret_key Data_encoding.t
val nonce_encoding : nonce Data_encoding.t
val neuterize : secret_key -> public_key
val equal : public_key -> public_key -> bool