Lines Matching refs:MP_OKAY
62 if (mp_init_size (&x0, B) != MP_OKAY)
64 if (mp_init_size (&x1, a->used - B) != MP_OKAY)
66 if (mp_init_size (&y0, B) != MP_OKAY)
68 if (mp_init_size (&y1, b->used - B) != MP_OKAY)
72 if (mp_init_size (&t1, B * 2) != MP_OKAY)
74 if (mp_init_size (&x0y0, B * 2) != MP_OKAY)
76 if (mp_init_size (&x1y1, B * 2) != MP_OKAY)
120 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY)
122 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY)
126 if (s_mp_add (&x1, &x0, &t1) != MP_OKAY)
128 if (s_mp_add (&y1, &y0, &x0) != MP_OKAY)
130 if (mp_mul (&t1, &x0, &t1) != MP_OKAY)
134 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY)
136 if (s_mp_sub (&t1, &x0, &t1) != MP_OKAY)
140 if (mp_lshd (&t1, B) != MP_OKAY)
142 if (mp_lshd (&x1y1, B * 2) != MP_OKAY)
145 if (mp_add (&x0y0, &t1, &t1) != MP_OKAY)
147 if (mp_add (&t1, &x1y1, c) != MP_OKAY)
150 /* Algorithm succeeded set the return code to MP_OKAY */
151 err = MP_OKAY;