MillerLoopDriverBls12Pairing class

Implements the Miller loop driver for BLS12-381 pairings using affine G1 and projective G2 points.

Implemented types

Constructors

MillerLoopDriverBls12Pairing({required G2NativeProjective cur, required G2NativeAffinePoint base, required G1NativeAffinePoint p})

Properties

base G2NativeAffinePoint
Base G2 point in affine coordinates.
final
cur G2NativeProjective
Accessor for the current projective point.
no setter
hashCode int
The hash code for this object.
no setterinherited
p G1NativeAffinePoint
G1 affine point used in the pairing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

additionStep(Bls12NativeFp12 acc) Bls12NativeFp12
Performs an addition step using the base G2 point and updates the current G2 point.
override
conjugate(Bls12NativeFp12 acc) Bls12NativeFp12
Conjugates the accumulated value.
override
doublingStep(Bls12NativeFp12 acc) Bls12NativeFp12
Performs a doubling step and updates the current G2 point.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
one() Bls12NativeFp12
Returns the multiplicative identity in Fp¹².
override
squareOutput(Bls12NativeFp12 acc) Bls12NativeFp12
Squares the accumulated output.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited