Use mpextgcd, not mpbinv_w.

CVS patchset: 6874
CVS date: 2003/05/23 17:34:22
This commit is contained in:
jbj 2003-05-23 17:34:22 +00:00
parent dfcd749bbb
commit 9e1e00f00a
1 changed files with 2 additions and 3 deletions

View File

@ -1559,10 +1559,9 @@ fprintf(stderr, "sub ++: borrow\n");
mpgcd_w(xsize, xdata, mdata, MPW_DATA(z), wksp);
break;
case 'I':
wksp = alloca(6*(msize+1)*sizeof(*wksp));
mpbset(&b, msize, mdata);
wksp = alloca((7*msize+6)*sizeof(*wksp));
z = mpw_New(msize);
mpbinv_w(&b, xsize, xdata, MPW_DATA(z), wksp);
(void) mpextgcd_w(msize, wksp, mdata, MPW_DATA(z), wksp+msize);
break;
#ifdef DYING
case 'R':