Documentation

CompPoly.Fields.KoalaBear.Fast

Fast KoalaBear Field #

A native-word Montgomery implementation of KoalaBear arithmetic. The shared algorithms and proofs live in CompPoly.Fields.Montgomery.Native32Field; this module supplies the KoalaBear constants and its concrete API.

Parameters and carrier #

@[instance_reducible]

The per-field data realizing KoalaBear as a fast 32-bit-word Montgomery field.

@[reducible, inline]

The fast native-word KoalaBear field carrier, stored as a Montgomery residue.

Instances For

    Conversions #

    @[inline]

    Convert a 32-bit word into fast Montgomery representation.

    Instances For
      @[inline]

      Convert from the canonical ZMod KoalaBear field into fast Montgomery form.

      Instances For

        Canonical bridge #

        Ring equivalence between the fast Montgomery representation and canonical KoalaBear.Field.

        Instances For

          Two-adic roots #

          Precomputed KoalaBear two-adic generators in Montgomery representation.

          Instances For

            The Montgomery root table represents the canonical KoalaBear roots.