Home | History | Annotate | Download | only in libtommath

Lines Matching refs:w2

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