• Home
  • Raw
  • Download

Lines Matching refs:mp_add

185     if ((res = mp_add (&D, b, &D)) != MP_OKAY) {  in fast_mp_invmod()
829 int mp_add (mp_int * a, mp_int * b, mp_int * c) in mp_add() function
1012 if ((res = mp_add (a, b, &t)) != MP_OKAY) { in mp_addmod()
1617 ((res = mp_add(&q, &tq, &q)) != MP_OKAY)) { in mp_div()
1805 if ((res = mp_add (&x, &t1, &x)) != MP_OKAY) { in mp_div()
3762 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) { in mp_invmod_slow()
3787 if ((res = mp_add (&C, &y, &C)) != MP_OKAY) { in mp_invmod_slow()
3846 if ((res = mp_add(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow()
4228 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY) in mp_karatsuba_mul()
4239 if (mp_add (&x0y0, &t1, &t1) != MP_OKAY) in mp_karatsuba_mul()
4241 if (mp_add (&t1, &x1y1, c) != MP_OKAY) in mp_karatsuba_mul()
4366 if (mp_add (&x0x0, &t1, &t1) != MP_OKAY) in mp_karatsuba_sqr()
4368 if (mp_add (&t1, &x1x1, b) != MP_OKAY) in mp_karatsuba_sqr()
4560 res = mp_add (b, &t, c); in mp_mod()
6636 if ((res = mp_add (x, &q, x)) != MP_OKAY) in mp_reduce()
7420 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { in mp_sqrt()
7431 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { in mp_sqrt()
7906 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
7912 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_mul()
7919 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul()
7925 if ((res = mp_add(&tmp2, &b2, &tmp2)) != MP_OKAY) { in mp_toom_mul()
7937 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
7943 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul()
7950 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul()
7956 if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) { in mp_toom_mul()
7966 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
7969 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul()
7972 if ((res = mp_add(&b2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul()
7975 if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) { in mp_toom_mul()
8080 if ((res = mp_add(&w0, &w1, c)) != MP_OKAY) { in mp_toom_mul()
8083 if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) { in mp_toom_mul()
8086 if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
8089 if ((res = mp_add(&tmp1, c, c)) != MP_OKAY) { in mp_toom_mul()
8171 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8177 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8189 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8195 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8205 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8208 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8312 if ((res = mp_add(&w0, &w1, b)) != MP_OKAY) { in mp_toom_sqr()
8315 if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8318 if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) { in mp_toom_sqr()
8321 if ((res = mp_add(&tmp1, b, b)) != MP_OKAY) { in mp_toom_sqr()