This commit is contained in:
parent
f69f393abb
commit
70b3d8d887
2 changed files with 33 additions and 0 deletions
|
|
@ -2,6 +2,15 @@ open Crypto
|
|||
|
||||
type t
|
||||
|
||||
val sign_with_sm_key : t -> string -> eddsa_sig
|
||||
val verify_with_sm_key : t -> eddsa_sig -> msg:string -> (unit, string) result
|
||||
|
||||
val sign_with_signkey :
|
||||
t -> pub:eddsa_pub -> string -> (eddsa_sig, string) result
|
||||
|
||||
val verify_with_signkey :
|
||||
t -> pub:eddsa_pub -> eddsa_sig -> msg:string -> (unit, string) result
|
||||
|
||||
val get_sm_key_priv : t -> eddsa_priv
|
||||
val get_sm_key_pub : t -> eddsa_pub
|
||||
val get_signkeys : t -> Signkey_data.t list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue