Expand description
This crate provides traits for working with finite fields.
Modules§
- derive
derive - Functions and re-exported crates used by the
PrimeFieldderive macro. - helpers
- Helper methods for implementing the
fftraits.
Structs§
- Batch
Inverter - A non-allocating batch inverter.
Traits§
- Batch
Invert alloc - Extension trait for iterators over mutable field elements which allows those field elements to be inverted in a batch.
- BitView
Sized bits - Helper trait for scalars and arrays, but not slices.
- Field
- This trait represents an element of a field.
- From
Uniform Bytes - Trait for constructing a
PrimeFieldelement from a fixed-length uniform byte array. - Prime
Field - This represents an element of a non-binary prime field.
- Prime
Field Bits bits - This represents the bits of an element of a prime field.
- With
Small Order MulGroup - The subset of prime-order fields such that
(modulus - 1)is divisible byN.
Type Aliases§
- Field
Bits bits - Bit representation of a field element.
Derive Macros§
- Prime
Field derive - Derive the
PrimeFieldtrait.