Expand description
Stack-allocated big signed integers.
ModulesΒ§
- add π
Intaddition operations.- bit_and π
Intbitwise AND operations.- bit_not π
Intbitwise NOT operations.- bit_or π
Intbitwise OR operations.- bit_xor π
Intbitwise XOR operations.- cmp π
Intcomparisons.- ct π
- Constant-time support: impls of
Ct*traits and constant-timeconst fnoperations. - div π
Intdivision operations.- div_
unsigned π - Operations related to dividing an
Intby aUint. - encoding π
- Const-friendly decoding/encoding operations for
Int. - from π
From-like conversions forInt.- gcd π
- This module implements (a constant variant of) the Optimized Extended Binary GCD algorithm, which is described by Pornin in βOptimized Binary GCD for Modular Inversionβ. Ref: https://eprint.iacr.org/2020/972.pdf
- invert_
mod π - Operations related to computing the inverse of an
Intmodulo aUint. - mod_
symbol π - Support for computing modular symbols.
- mul π
Intmultiplication operations.- mul_
unsigned π - neg π
Intnegation-related operations.- rand π
- Random number generator support
- resize π
- shl π
Intbitwise left shift operations.- shr π
Intbitwise right shift operations.- sign π
- sqrt π
Intsquare root operations.- sub π
Intsubtraction operations.- types π
- Selection of
Inttypes. todo: replace with macro implementation once serde is set up.