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

Sets c to the value of a raised to the b power, reduced modulo m, given a precomputed reduction constant mu defined for Barrett’s modular reduction algorithm.

It returns MP_RANGE if b < 0 or MP_UNDEF if m == 0.