blob: dc8e59c65e03105770b7db243ac44d368e92d06b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
module G1 = Curves.E
module G2 = Curves.E2
module Gt = struct
module Fp12 = Fields.Fp12
type t = Fp12.t
let identity = Fp12.one
let dot = Fp12.mul
let inverse = Fp12.inv
let to_fp12 a = a
let equal = Fp12.equal
let to_string = Fp12.to_string
module Unsafe = struct
let of_fp12_unchecked a = a
let of_string_unchecked = Fp12.of_string
end
end
let e p q =
let _ = (p, q) in
failwith "todo"
|