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

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

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.