Expand description
Implements DynResidues, supporting modular arithmetic with a modulus set at runtime.
Modulesยง
- runtime_
add ๐ - Additions between residues with a modulus set at runtime
- runtime_
inv ๐ - Multiplicative inverses of residues with a modulus set at runtime
- runtime_
mul ๐ - Multiplications between residues with a modulus set at runtime
- runtime_
neg ๐ - Negations of residues with a modulus set at runtime
- runtime_
pow ๐ - Exponentiation of residues with a modulus set at runtime
- runtime_
sub ๐ - Subtractions between residues with a modulus set at runtime
Structsยง
- DynResidue
- A residue represented using
LIMBSlimbs. The odd modulus of this residue is set at runtime. - DynResidue
Params - The parameters to efficiently go to and from the Montgomery form for an odd modulus provided at runtime.