Crate pairing [] [src]

Modules

bls12_381

Structs

BitIterator
Wnaf

A "w-ary non-adjacent form" exponentiation context.

Enums

GroupDecodingError

An error that may occur when trying to decode an EncodedPoint.

LegendreSymbol
PrimeFieldDecodingError

An error that may occur when trying to interpret a PrimeFieldRepr as a PrimeField element.

Traits

CurveAffine

Affine representation of an elliptic curve point guaranteed to be in the correct prime order subgroup.

CurveProjective

Projective representation of an elliptic curve point guaranteed to be in the correct prime order subgroup.

EncodedPoint

An encoded elliptic curve point, which should essentially wrap a [u8; N].

Engine

An "engine" is a collection of types (fields, elliptic curve groups, etc.) with well-defined relationships. In particular, the G1/G2 curve groups are of prime order r, and are equipped with a bilinear pairing function.

Field

This trait represents an element of a field.

PrimeField

This represents an element of a prime field.

PrimeFieldRepr

This trait represents a wrapper around a biginteger which can encode any element of a particular prime field. It is a smart wrapper around a sequence of u64 limbs, least-significant digit first.

SqrtField

This trait represents an element of a field that has a square root operation described for it.