Module risc0_zkp::field

source ·
Expand description

Finite field types and operations

Defines base fields and extension fields used for finite field-based operations across the RISC Zero zkVM architecture

Modules

Traits

  • Subfield elements that can be compared, copied, and operated on via multiplication, addition, and subtraction
  • A field extension which can be constructed from a subfield element Elem
  • A pair of fields, one of which is an extension field of the other.
  • Roots of unity for the field whose elements are represented by ExtElem and whose subfield elements are represented by Elem