silc_mp_pow_mod

SYNOPSIS

    SilcBool silc_mp_pow_mod(SilcMPInt *dst, SilcMPInt *mp1, SilcMPInt *exp,
                             SilcMPInt *mod);

DESCRIPTION

Compute (`mp1' ** `exp') mod `mod' and save the result to `dst'. This is equivalent to dst = (mp1 ^ exp) mod mod.