multiply_modulo
if ((err = multiply_modulo(&M[1], G, &res, P)) != MP_OKAY) {
return multiply_modulo(ret, a, b, __UNCONST(m)) == MP_OKAY;