Lines Matching refs:w2
27 mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2; in mp_toom_mul() local
31 if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, in mp_toom_mul()
158 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { in mp_toom_mul()
191 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { in mp_toom_mul()
194 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { in mp_toom_mul()
198 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul()
202 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) { in mp_toom_mul()
220 if ((res = mp_mul_d(&w2, 3, &w2)) != MP_OKAY) { in mp_toom_mul()
223 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_mul()
226 if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) { in mp_toom_mul()
230 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul()
234 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) { in mp_toom_mul()
250 if ((res = mp_lshd(&w2, 2*B)) != MP_OKAY) { in mp_toom_mul()
263 if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) { in mp_toom_mul()
274 mp_clear_multi(&w0, &w1, &w2, &w3, &w4, in mp_toom_mul()