Lines Matching refs:t1
30 mp_int t1, t2, t3;
38 if ((res = mp_init (&t1)) != MP_OKAY) {
58 /* t1 = t2 */
59 if ((res = mp_copy (&t2, &t1)) != MP_OKAY) {
63 /* t2 = t1 - ((t1**b - a) / (b * t1**(b-1))) */
65 /* t3 = t1**(b-1) */
66 if ((res = mp_expt_d (&t1, b - 1, &t3)) != MP_OKAY) {
71 /* t2 = t1**b */
72 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) {
76 /* t2 = t1**b - a */
82 /* t3 = t1**(b-1) * b */
87 /* t3 = (t1**b - a)/(b * t1**(b-1)) */
92 if ((res = mp_sub (&t1, &t3, &t2)) != MP_OKAY) {
95 } while (mp_cmp (&t1, &t2) != MP_EQ);
99 if ((res = mp_expt_d (&t1, b, &t2)) != MP_OKAY) {
104 if ((res = mp_sub_d (&t1, 1, &t1)) != MP_OKAY) {
116 mp_exch (&t1, c);
125 LBL_T1:mp_clear (&t1);