package bls12-381

  1. Overview
  2. Docs
Implementation of the BLS12-381 curve (wrapper for the Blst library)

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/bls12-381/Bls12_381/index.html

Module Bls12_381Source

Sourcemodule Ff_sig : sig ... end
Sourcemodule Fr : sig ... end
Sourcemodule type CURVE = sig ... end
Sourcemodule Fq12 : sig ... end

Represents the field extension constructed as described here. The interface does not provide the full requirements to be a field (like the addition).

Sourcemodule G1 : sig ... end

Elliptic curve built over the field Fq and the equation y^2 = x^3 + 4

Sourcemodule G2 : sig ... end

Elliptic curve built over the field Fq^2 and the equation y^2 = x^3 + 4(u + 1)

Sourcemodule GT : sig ... end

Prime subgroup of Fq12, of order Fr.order, represented additively

Sourcemodule Pairing : sig ... end

Provides routines to compute the pairing over G1 x G2 -> GT

Sourceval built_with_blst_portable : bool

Return true if the environment variable `BLST_PORTABLE` was set when building the library, otherwise false. Can be used to detect if the backend blst has been optimised with ADX on ADX-supported platforms.

OCaml

Innovation. Community. Security.