Home
last modified time | relevance | path

Searched refs:borrow (Results 1 – 4 of 4) sorted by relevance

/openssl/crypto/bn/
H A Dbn_mod.c140 BN_ULONG borrow, carry, ta, tb, mask, *rp; in bn_mod_sub_fixed_top() local
150 for (i = 0, ai = 0, bi = 0, borrow = 0; i < mtop;) { in bn_mod_sub_fixed_top()
156 rp[i] = ta - tb - borrow; in bn_mod_sub_fixed_top()
158 borrow = (ta < tb); in bn_mod_sub_fixed_top()
165 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
171 borrow -= carry; in bn_mod_sub_fixed_top()
172 for (i = 0, mask = 0 - borrow, carry = 0; i < mtop; i++) { in bn_mod_sub_fixed_top()
H A Dbn_add.c128 BN_ULONG t1, t2, borrow, *rp; in BN_usub() local
150 borrow = bn_sub_words(rp, ap, bp, min); in BN_usub()
157 t2 = (t1 - borrow) & BN_MASK2; in BN_usub()
159 borrow &= (t1 == 0); in BN_usub()
/openssl/crypto/ec/curve448/
H A Dscalar.c55 c448_word_t borrow; in sc_subx() local
62 borrow = (c448_word_t)chain + extra; /* = 0 or -1 */ in sc_subx()
66 chain = (chain + out->limb[i]) + (p->limb[i] & borrow); in sc_subx()
/openssl/crypto/bn/asm/
H A Dbn-c64xplus.asm163 [B0] ZERO A2 ; borrow flag
176 || AND 1,A1,A2 ; pass on borrow flag
179 AND 1,A1,RET ; return borrow flag

Completed in 10 milliseconds