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