+ more binary_formats refacto
This commit is contained in:
parent
3dbe7eb370
commit
e72ed3e972
3 changed files with 144 additions and 85 deletions
|
|
@ -83,6 +83,7 @@ module EddsaPublicKey = struct
|
|||
type t = Mirage_crypto_ec.Ed25519.pub
|
||||
|
||||
let to_octets t = Mirage_crypto_ec.Ed25519.pub_to_octets t
|
||||
let of_octets t = Mirage_crypto_ec.Ed25519.pub_of_octets t
|
||||
|
||||
let of_b32 s =
|
||||
let open Syntax in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue