package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-libs.mec/Mec/CurveSig/module-type-PAIRING/index.html

Module type CurveSig.PAIRINGSource

module G1 : BASE
module G2 : BASE
exception FailToComputeFinalExponentiation of GT.t
val miller_loop : (G1.t * G2.t) list -> GT.t
val miller_loop_simple : G1.t -> G2.t -> GT.t

Compute the miller loop on a single tuple of point

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

Compute a pairing result of a list of points

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

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

val 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.