Documentation

CompPoly.Fields.BN254.Fast

Fast BN254 Scalar Field #

A native eight-limb Montgomery implementation of BN254 scalar arithmetic (CompPoly.Fields.Montgomery.Native64x8Field). This module supplies the BN254 constants.

Parameters and carrier #

@[instance_reducible]

Divstep schedule of the binary-GCD inverse candidate.

@[instance_reducible]

The per-field data realizing BN254's scalar field as a fast eight-limb (32-bit-limb) Montgomery field.

@[reducible, inline]

The eight-limb BN254 scalar field carrier, stored as a Montgomery residue.

Instances For
    @[inline]

    Convert from the canonical BN254.ScalarField field into fast Montgomery form.

    Instances For

      Ring equivalence between the eight-limb representation and the canonical BN254.ScalarField.

      Instances For