aboutsummaryrefslogtreecommitdiff
path: root/lib/fields.mli
blob: a3d9adc0a85419810fddf1fdcee35cd9a31c01c3 (plain)
1
2
3
4
5
6
7
8
9
10
(** Finite fields used by the BLS12-381 curve and pairings *)

module Fp : Field.S
(** The prime field over which the BLS12-381 curve is defined. *)

module Fp2 : Field.SX with type f = Fp.t
(** The polynomial field extension of degree 2 for BLS12-381 pairings. *)

module Fp12 : Field.SX with type f = Fp.t
(** The polynomial field extension of degree 12 for BLS12-381 pairings. *)