add definition of all PS structs

This commit is contained in:
swrup 2025-10-08 21:17:03 +02:00
parent 9f9c833659
commit 4e4aa0dfd5
2 changed files with 687 additions and 11 deletions

View file

@ -116,6 +116,8 @@ module Eddsa = struct
(* EdDSA and ECDHE public keys always point on Curve25519
and represented using the standard 256 bits Ed25519 compact format,
converted to Crockford Base32. *)
(* EdDSA signatures are transmitted as 64-bytes `base32`
binary-encoded objects with just the R and S values (base32_ binary-only). *)
type pub = Mirage_crypto_ec.Ed25519.pub
let pub_of_string s =