Expand description
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
Macros§
Structs§
Type Aliases§
- IntXgcd
Output - Output of the Binary XGCD algorithm applied to two
Ints. - NonZero
IntXgcd Output - Output of the Binary XGCD algorithm applied to two
NonZero<Int<LIMBS>>s. - OddInt
Xgcd Output - Output of the Binary XGCD algorithm applied to two
Odd<Int<LIMBS>>s.