Home | History | Annotate | Download | only in libtommath

Lines Matching full:res

25   mp_int  M[TAB_SIZE], res, mu;
133 if ((err = mp_init (&res)) != MP_OKAY) {
136 mp_set (&res, 1);
173 if ((err = mp_sqr (&res, &res)) != MP_OKAY) {
176 if ((err = redux (&res, P, &mu)) != MP_OKAY) {
190 if ((err = mp_sqr (&res, &res)) != MP_OKAY) {
193 if ((err = redux (&res, P, &mu)) != MP_OKAY) {
199 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) {
202 if ((err = redux (&res, P, &mu)) != MP_OKAY) {
217 if ((err = mp_sqr (&res, &res)) != MP_OKAY) {
220 if ((err = redux (&res, P, &mu)) != MP_OKAY) {
227 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) {
230 if ((err = redux (&res, P, &mu)) != MP_OKAY) {
237 mp_exch (&res, Y);
239 LBL_RES:mp_clear (&res);