Lines Matching refs:mask
59 BN_ULONG carry, temp, mask, *rp, *tp = storage; in bn_mod_add_fixed_top() local
75 mask = (BN_ULONG)0 - ((i - a->top) >> (8 * sizeof(i) - 1)); in bn_mod_add_fixed_top()
76 temp = ((ap[ai] & mask) + carry) & BN_MASK2; in bn_mod_add_fixed_top()
79 mask = (BN_ULONG)0 - ((i - b->top) >> (8 * sizeof(i) - 1)); in bn_mod_add_fixed_top()
80 tp[i] = ((bp[bi] & mask) + temp) & BN_MASK2; in bn_mod_add_fixed_top()
140 BN_ULONG borrow, carry, ta, tb, mask, *rp; in bn_mod_sub_fixed_top() local
151 mask = (BN_ULONG)0 - ((i - a->top) >> (8 * sizeof(i) - 1)); in bn_mod_sub_fixed_top()
152 ta = ap[ai] & mask; in bn_mod_sub_fixed_top()
154 mask = (BN_ULONG)0 - ((i - b->top) >> (8 * sizeof(i) - 1)); in bn_mod_sub_fixed_top()
155 tb = bp[bi] & mask; in bn_mod_sub_fixed_top()
165 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
166 ta = ((ap[i] & mask) + carry) & BN_MASK2; in bn_mod_sub_fixed_top()
172 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
173 ta = ((ap[i] & mask) + carry) & BN_MASK2; in bn_mod_sub_fixed_top()