clean up
This commit is contained in:
parent
0b6f5e3db5
commit
53debfd866
11 changed files with 40 additions and 165 deletions
|
|
@ -80,13 +80,7 @@ module Binary_format_rsa = struct
|
|||
| _ -> assert false
|
||||
end
|
||||
|
||||
(* TODO key format
|
||||
- check what is the exact format in GNUNET
|
||||
- endianess issue? *)
|
||||
module EddsaPublicKey = struct
|
||||
(* EdDSA and ECDHE public keys always point on Curve25519
|
||||
and represented using the standard 256 bits Ed25519 compact format,
|
||||
converted to Crockford Base32. *)
|
||||
open Mirage_crypto_ec.Ed25519
|
||||
|
||||
type t = pub
|
||||
|
|
@ -161,8 +155,6 @@ module EddsaSignature : sig
|
|||
val bin : t Bin.t
|
||||
val caqti : t Caqti_type.t
|
||||
end = struct
|
||||
(* TODO key format
|
||||
endianess issue? *)
|
||||
(* transmitted as 64-bytes base32
|
||||
binary-encoded objects with just the R and S values *)
|
||||
type t = string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue