silc_mp_mod

SYNOPSIS

    SilcBool silc_mp_mod(SilcMPInt *dst, SilcMPInt *mp1, SilcMPInt *mp2);

DESCRIPTION

Mathematical MOD function. Produces the remainder of `mp1' and `mp2' and saves the result to `dst'. This is equivalent to dst = mp1 mod mp2. The same result can also be get with silc_mp_div_qr as that function returns the remainder as well.