Lines Matching refs:MP_OKAY
38 if ((res = mp_init (&t1)) != MP_OKAY) {
42 if ((res = mp_init (&t2)) != MP_OKAY) {
46 if ((res = mp_init (&t3)) != MP_OKAY) {
59 if ((res = mp_copy (&t2, &t1)) != MP_OKAY) {
66 if ((res = mp_expt_d (&t1, b - 1, &t3)) != MP_OKAY) {
72 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) {
77 if ((res = mp_sub (&t2, a, &t2)) != MP_OKAY) {
83 if ((res = mp_mul_d (&t3, b, &t3)) != MP_OKAY) {
88 if ((res = mp_div (&t2, &t3, &t3, NULL)) != MP_OKAY) {
92 if ((res = mp_sub (&t1, &t3, &t2)) != MP_OKAY) {
99 if ((res = mp_expt_d (&t1, b, &t2)) != MP_OKAY) {
104 if ((res = mp_sub_d (&t1, 1, &t1)) != MP_OKAY) {
121 res = MP_OKAY;