../../.cargo/katex-header.html

Module winter_math::fields

source ·
Expand description

Finite field implementations.

This module contains concrete implementations of base STARK fields as well as extensions of these field.

Modules§

  • An implementation of a 62-bit STARK-friendly prime field with modulus $2^{62} - 111 \cdot 2^{39} + 1$.
  • An implementation of a 64-bit STARK-friendly prime field with modulus $2^{64} - 2^{32} + 1$ using Montgomery representation. Our implementation follows https://eprint.iacr.org/2022/274.pdf and is constant-time.
  • An implementation of a 128-bit STARK-friendly prime field with modulus $2^{128} - 45 \cdot 2^{40} + 1$.

Structs§