Lines Matching refs:tmod
168 BIGNUM tmod; in BN_MONT_CTX_set() local
187 BN_init(&tmod); in BN_MONT_CTX_set()
188 tmod.d = buf; in BN_MONT_CTX_set()
189 tmod.dmax = 2; in BN_MONT_CTX_set()
190 tmod.neg = 0; in BN_MONT_CTX_set()
203 tmod.top = 0; in BN_MONT_CTX_set()
205 tmod.top = 1; in BN_MONT_CTX_set()
208 tmod.top = 2; in BN_MONT_CTX_set()
211 if (BN_mod_inverse(Ri, R, &tmod, ctx) == NULL) { in BN_MONT_CTX_set()
233 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) { in BN_MONT_CTX_set()
248 tmod.top = buf[0] != 0 ? 1 : 0; in BN_MONT_CTX_set()
250 if (BN_mod_inverse(Ri, R, &tmod, ctx) == NULL) { in BN_MONT_CTX_set()
266 if (!BN_div(Ri, NULL, Ri, &tmod, ctx)) { in BN_MONT_CTX_set()