package bls12-381-gen

  1. Overview
  2. Docs

Module Pairing.MakeSource

Parameters

module GT : Fq12.T
module Stubs : RAW_STUBS

Signature

Sourceexception FailToComputeFinalExponentiation of GT.t
Sourceval miller_loop : (G1.t * G2.t) list -> GT.t
Sourceval miller_loop_simple : G1.t -> G2.t -> GT.t

Compute the miller loop on a single tuple of point

Sourceval pairing : G1.t -> G2.t -> GT.t

Compute a pairing result of a list of points

Sourceval final_exponentiation_opt : GT.t -> GT.t option

Compute the final exponentiation of the given point. Returns a None if the point is null

Sourceval final_exponentiation_exn : GT.t -> GT.t

Compute the final exponentiation of the given point. Raise FailToComputeFinalExponentiation if the point is null

OCaml

Innovation. Community. Security.