39
39
if ((res = mp_copy (b, &y)) != MP_OKAY) {
43
43
/* 2. [modified] if x,y are both even then return an error! */
44
44
if (mp_iseven (&x) == 1 && mp_iseven (&y) == 1) {
49
49
/* 3. u=x, v=y, A=1, B=0, C=0,D=1 */
50
50
if ((res = mp_copy (&x, &u)) != MP_OKAY) {
53
53
if ((res = mp_copy (&y, &v)) != MP_OKAY) {