Home | History | Annotate | Download | only in libtommath

Lines Matching refs:dr

26   int dr;
76 /* is it a DR modulus? */
77 dr = mp_dr_is_modulus(P);
80 dr = 0;
84 /* if not, is it a unrestricted DR modulus? */
85 if (dr == 0) {
86 dr = mp_reduce_is_2k(P) << 1;
90 /* if the modulus is odd or dr != 0 use the montgomery method */
92 if (mp_isodd (P) == 1 || dr != 0) {
93 return mp_exptmod_fast (G, X, P, Y, dr);