Skip to main content

IntXgcdOutput

Type Alias IntXgcdOutput 

Source
pub type IntXgcdOutput<const LIMBS: usize> = XgcdOutput<LIMBS, Uint<LIMBS>>;
Expand description

Output of the Binary XGCD algorithm applied to two Ints.

Aliased Type§

pub struct IntXgcdOutput<const LIMBS: usize> {
    pub gcd: Uint<LIMBS>,
    pub x: Int<LIMBS>,
    pub y: Int<LIMBS>,
    pub lhs_on_gcd: Int<LIMBS>,
    pub rhs_on_gcd: Int<LIMBS>,
}

Fields§

§gcd: Uint<LIMBS>§x: Int<LIMBS>§y: Int<LIMBS>§lhs_on_gcd: Int<LIMBS>§rhs_on_gcd: Int<LIMBS>