pub unsafe extern "C" fn mp_int_gcd(
    a: mp_int,
    b: mp_int,
    c: mp_int
) -> mp_result
Expand description

Sets c to the greatest common divisor of a and b.

It returns MP_UNDEF if the GCD is undefined, such as for example if a and b are both zero.