Lines Matching refs:mtop
57 size_t i, ai, bi, mtop = m->top; in bn_mod_add_fixed_top() local
62 if (bn_wexpand(r, mtop) == NULL) in bn_mod_add_fixed_top()
65 if (mtop > OSSL_NELEM(storage)) { in bn_mod_add_fixed_top()
66 tp = OPENSSL_malloc(mtop * sizeof(BN_ULONG)); in bn_mod_add_fixed_top()
74 for (i = 0, ai = 0, bi = 0, carry = 0; i < mtop;) { in bn_mod_add_fixed_top()
88 carry -= bn_sub_words(rp, tp, m->d, mtop); in bn_mod_add_fixed_top()
89 for (i = 0; i < mtop; i++) { in bn_mod_add_fixed_top()
93 r->top = mtop; in bn_mod_add_fixed_top()
139 size_t i, ai, bi, mtop = m->top; in bn_mod_sub_fixed_top() local
143 if (bn_wexpand(r, mtop) == NULL) in bn_mod_sub_fixed_top()
150 for (i = 0, ai = 0, bi = 0, borrow = 0; i < mtop;) { in bn_mod_sub_fixed_top()
165 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
172 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
179 r->top = mtop; in bn_mod_sub_fixed_top()