pub unsafe extern "C" fn mp_int_div(
    a: mp_int,
    b: mp_int,
    q: mp_int,
    r: mp_int
) -> mp_result
Expand description

Sets q and r to the quotent and remainder of a / b. Division by powers of 2 is detected and handled efficiently. The remainder is pinned to 0 <= r < b.

Either of q or r may be NULL, but not both, and q and r may not point to the same value.