s_mp_sub_d
mp_err s_mp_sub_d(mp_int *mp, mp_digit d); /* unsigned digit subtract */
if((res = s_mp_sub_d(&tmp, d)) != MP_OKAY)