This commit is contained in:
parent
5ef99e7099
commit
68b39a5eee
6 changed files with 73 additions and 58 deletions
|
|
@ -3,11 +3,10 @@ open Crypto
|
|||
type t
|
||||
|
||||
val sign_with_sm_key : t -> string -> eddsa_sig
|
||||
val sign_with_signkey : t -> pub:eddsa_pub -> string -> eddsa_sig
|
||||
val verify_with_master_key : eddsa_sig -> msg:string -> (unit, string) result
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue