reason("error: computed %s, expected %s\n", g_intbuf, i_mp27);
reason("error: invmod test 1 computed %s, expected %s\n", g_intbuf, i_mp27); return 1; }  mp_init(&a); mp_init(&m); mp_read_radix(&a, mp20, 16); mp_read_radix(&m, mp19, 16);  IFOK( mp_invmod(&a, &m, &a) );  mp_toradix(&a, g_intbuf, 16); mp_clear(&a); mp_clear(&m);  if(strcmp(g_intbuf, i_mp2019) != 0) { reason("error: invmod test 2 computed %s, expected %s\n", g_intbuf, i_mp2019);
int test_invmod(void){  mp_int  a, m;  mp_err  res;  mp_init(&a); mp_init(&m);  mp_read_radix(&a, mp2, 16); mp_read_radix(&m, mp7, 16);  IFOK( mp_invmod(&a, &m, &a) );  mp_toradix(&a, g_intbuf, 16);  mp_clear(&a); mp_clear(&m);  if(strcmp(g_intbuf, i_mp27) != 0) {    reason("error: computed %s, expected %s\n", g_intbuf, i_mp27);    return 1;  }  return 0;}