Lines Matching defs:carry
91 BN_ULONG *ap, *np, *rp, n0, v, carry;
102 max = (2 * nl); /* carry is stored separately */
123 * includes |carry| which is stored separately.
125 for (carry = 0, i = 0; i < nl; i++, rp++) {
127 v = (v + carry + rp[nl]) & BN_MASK2;
128 carry |= (v != rp[nl]);
129 carry &= (v <= rp[nl]);
143 * includes |carry| which is stored separately.
147 carry -= bn_sub_words(rp, ap, np, nl);
149 * |carry| is -1 if |ap| - |np| underflowed or zero if it did not. Note
150 * |carry| cannot be 1. That would imply the subtraction did not fit in
154 rp[i] = (carry & ap[i]) | (~carry & rp[i]);