Bls12NativeFp6 class
Cubic extension field GF(p⁶) over GF(p²), represented as c0 + c1·v + c2·v² with v³ = u + 1.
- Mixed-in types
Constructors
- Bls12NativeFp6({required Bls12NativeFp2 c0, required Bls12NativeFp2 c1, required Bls12NativeFp2 c2})
-
const
- Bls12NativeFp6.conditionalSelect(Bls12NativeFp6 a, Bls12NativeFp6 b, bool choice)
-
factory
- Bls12NativeFp6.fromFp(Bls12NativeFp f)
-
factory
- Bls12NativeFp6.fromFp2(Bls12NativeFp2 f)
-
factory
- Bls12NativeFp6.one()
-
on element
factory
- Bls12NativeFp6.zero()
-
zero element
factory
Properties
- c0 → Bls12NativeFp2
-
final
- c1 → Bls12NativeFp2
-
final
- c2 → Bls12NativeFp2
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- variables → List
-
no setteroverride
Methods
-
frobeniusMap(
) → Bls12NativeFp6 - Frobenius map
-
invert(
) → Bls12NativeFp6? - Inversion
-
isZero(
) → bool - check zero
-
mulBy01(
Bls12NativeFp2 rhsC0, Bls12NativeFp2 rhsC1) → Bls12NativeFp6 - Multiply by Bls12NativeFp2 elements in positions c0 and c1
-
mulBy1(
Bls12NativeFp2 rhsC1) → Bls12NativeFp6 - Multiply by Bls12NativeFp2 element only in position c1
-
mulByNonresidue(
) → Bls12NativeFp6 - Multiply by quadratic nonresidue v
-
mulInterleaved(
Bls12NativeFp6 b) → Bls12NativeFp6 - Interleaved multiplication (schoolbook optimized)
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
square(
) → Bls12NativeFp6 - Squaring
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator *(
Bls12NativeFp6 rhs) → Bls12NativeFp6 -
operator +(
Bls12NativeFp6 rhs) → Bls12NativeFp6 - Operator overrides
-
operator -(
Bls12NativeFp6 rhs) → Bls12NativeFp6 -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator unary-(
) → Bls12NativeFp6