This commit is contained in:
parent
1e30753ba9
commit
bf2abee77f
1 changed files with 5 additions and 6 deletions
|
|
@ -1,9 +1,7 @@
|
|||
(* TODO signatures
|
||||
check with taler-wallet-core/src/crypto/cryptoImplementation.js
|
||||
check with taler-wallet
|
||||
check signed/unsigned ints
|
||||
check endianness
|
||||
|
||||
better handling of decoding failure *)
|
||||
check endianness *)
|
||||
open Hash
|
||||
|
||||
module Aliases = struct
|
||||
|
|
@ -177,8 +175,9 @@ end = struct
|
|||
type r = R.r
|
||||
type t = EddsaSignature.t
|
||||
|
||||
let sign_f ~f r = f (Bin.to_string R.bin r)
|
||||
let verify_f ~f t r = f t ~msg:(Bin.to_string R.bin r)
|
||||
let to_string = Bin.to_string R.bin
|
||||
let sign_f ~f r = f (to_string r)
|
||||
let verify_f ~f t r = f t ~msg:(to_string r)
|
||||
let jsont = EddsaSignature.jsont
|
||||
let caqti : EddsaSignature.t Caqti_type.t = EddsaSignature.caqti
|
||||
let to_octets t = EddsaSignature.to_octets t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue