Home | History | Annotate | Download | only in libtommath

Lines Matching refs:err

24    int err;
26 if ((err = mp_init_multi(&u1, &u2, &u3, &v1, &v2, &v3, &t1, &t2, &t3, &q, &tmp, NULL)) != MP_OKAY) {
27 return err;
32 if ((err = mp_copy(a, &u3)) != MP_OKAY) { goto _ERR; }
36 if ((err = mp_copy(b, &v3)) != MP_OKAY) { goto _ERR; }
41 if ((err = mp_div(&u3, &v3, &q, NULL)) != MP_OKAY) { goto _ERR; }
44 if ((err = mp_mul(&v1, &q, &tmp)) != MP_OKAY) { goto _ERR; }
45 if ((err = mp_sub(&u1, &tmp, &t1)) != MP_OKAY) { goto _ERR; }
46 if ((err = mp_mul(&v2, &q, &tmp)) != MP_OKAY) { goto _ERR; }
47 if ((err = mp_sub(&u2, &tmp, &t2)) != MP_OKAY) { goto _ERR; }
48 if ((err = mp_mul(&v3, &q, &tmp)) != MP_OKAY) { goto _ERR; }
49 if ((err = mp_sub(&u3, &tmp, &t3)) != MP_OKAY) { goto _ERR; }
52 if ((err = mp_copy(&v1, &u1)) != MP_OKAY) { goto _ERR; }
53 if ((err = mp_copy(&v2, &u2)) != MP_OKAY) { goto _ERR; }
54 if ((err = mp_copy(&v3, &u3)) != MP_OKAY) { goto _ERR; }
57 if ((err = mp_copy(&t1, &v1)) != MP_OKAY) { goto _ERR; }
58 if ((err = mp_copy(&t2, &v2)) != MP_OKAY) { goto _ERR; }
59 if ((err = mp_copy(&t3, &v3)) != MP_OKAY) { goto _ERR; }
74 err = MP_OKAY;
76 return err;