Lines Matching refs:MP_OKAY
33 &b2, &tmp1, &tmp2, NULL)) != MP_OKAY) { in mp_toom_mul()
41 if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) { in mp_toom_mul()
45 if ((res = mp_copy(a, &a1)) != MP_OKAY) { in mp_toom_mul()
51 if ((res = mp_copy(a, &a2)) != MP_OKAY) { in mp_toom_mul()
57 if ((res = mp_mod_2d(b, DIGIT_BIT * B, &b0)) != MP_OKAY) { in mp_toom_mul()
61 if ((res = mp_copy(b, &b1)) != MP_OKAY) { in mp_toom_mul()
67 if ((res = mp_copy(b, &b2)) != MP_OKAY) { in mp_toom_mul()
73 if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) { in mp_toom_mul()
78 if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) { in mp_toom_mul()
83 if ((res = mp_mul_2(&a0, &tmp1)) != MP_OKAY) { in mp_toom_mul()
86 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
89 if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
92 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_mul()
96 if ((res = mp_mul_2(&b0, &tmp2)) != MP_OKAY) { in mp_toom_mul()
99 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul()
102 if ((res = mp_mul_2(&tmp2, &tmp2)) != MP_OKAY) { in mp_toom_mul()
105 if ((res = mp_add(&tmp2, &b2, &tmp2)) != MP_OKAY) { in mp_toom_mul()
109 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul()
114 if ((res = mp_mul_2(&a2, &tmp1)) != MP_OKAY) { in mp_toom_mul()
117 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
120 if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
123 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul()
127 if ((res = mp_mul_2(&b2, &tmp2)) != MP_OKAY) { in mp_toom_mul()
130 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul()
133 if ((res = mp_mul_2(&tmp2, &tmp2)) != MP_OKAY) { in mp_toom_mul()
136 if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) { in mp_toom_mul()
140 if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) { in mp_toom_mul()
146 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
149 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul()
152 if ((res = mp_add(&b2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul()
155 if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) { in mp_toom_mul()
158 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { in mp_toom_mul()
175 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { in mp_toom_mul()
179 if ((res = mp_sub(&w3, &w0, &w3)) != MP_OKAY) { in mp_toom_mul()
183 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { in mp_toom_mul()
187 if ((res = mp_div_2(&w3, &w3)) != 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()
206 if ((res = mp_mul_2d(&w0, 3, &tmp1)) != MP_OKAY) { in mp_toom_mul()
209 if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) { in mp_toom_mul()
213 if ((res = mp_mul_2d(&w4, 3, &tmp1)) != MP_OKAY) { in mp_toom_mul()
216 if ((res = mp_sub(&w3, &tmp1, &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()
238 if ((res = mp_div_3(&w1, &w1, NULL)) != MP_OKAY) { in mp_toom_mul()
242 if ((res = mp_div_3(&w3, &w3, NULL)) != MP_OKAY) { in mp_toom_mul()
247 if ((res = mp_lshd(&w1, 1*B)) != MP_OKAY) { in mp_toom_mul()
250 if ((res = mp_lshd(&w2, 2*B)) != MP_OKAY) { in mp_toom_mul()
253 if ((res = mp_lshd(&w3, 3*B)) != MP_OKAY) { in mp_toom_mul()
256 if ((res = mp_lshd(&w4, 4*B)) != MP_OKAY) { in mp_toom_mul()
260 if ((res = mp_add(&w0, &w1, c)) != MP_OKAY) { in mp_toom_mul()
263 if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) { in mp_toom_mul()
266 if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) { in mp_toom_mul()
269 if ((res = mp_add(&tmp1, c, c)) != MP_OKAY) { in mp_toom_mul()