Fix ocaml-secp256k1 Scalar.const
It happened to work by chance on 64bits but it was clearly wrong
This commit is contained in:
parent
3ff99dfba3
commit
51ddb708d3
2
vendors/ocaml-secp256k1/src/internal.ml
vendored
2
vendors/ocaml-secp256k1/src/internal.ml
vendored
@ -75,7 +75,7 @@ module Scalar = struct
|
||||
|
||||
external const :
|
||||
t -> int64 -> int64 -> int64 -> int64 -> int64 -> int64 -> int64 -> int64 -> unit =
|
||||
"ml_secp256k1_fe_const_bytecode" "ml_secp256k1_fe_const" [@@noalloc]
|
||||
"ml_secp256k1_scalar_const_bytecode" "ml_secp256k1_scalar_const" [@@noalloc]
|
||||
|
||||
let const ?(d7=0L) ?(d6=0L) ?(d5=0L) ?(d4=0L) ?(d3=0L) ?(d2=0L) ?(d1=0L) ?(d0=0L) () =
|
||||
let buf = Cstruct.create size in
|
||||
|
Loading…
Reference in New Issue
Block a user