Home
last modified time | relevance | path

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

/system/core/libmincrypt/
Dp256.c93 p256_sddigit borrow = 0; in subTop() local
96 borrow += *c; in subTop()
97 borrow -= *a++; in subTop()
98 *c++ = (p256_digit)borrow; in subTop()
99 borrow >>= P256_BITSPERDIGIT; in subTop()
101 borrow += top_c; in subTop()
102 borrow -= top_a; in subTop()
103 top_c = (p256_digit)borrow; in subTop()
104 assert((borrow >> P256_BITSPERDIGIT) == 0); in subTop()
115 p256_sddigit borrow = 0; in subM() local
[all …]
/system/bt/stack/smp/
Dp_256_multprecision.c115 DWORD borrow; in multiprecision_sub() local
118 borrow=0; in multiprecision_sub()
121 temp = a[i] - borrow; in multiprecision_sub()
122 borrow = (temp > a[i]); in multiprecision_sub()
124 borrow |= (c[i] > temp); in multiprecision_sub()
127 return borrow; in multiprecision_sub()
229 DWORD borrow; in multiprecision_sub_mod() local
243 borrow = multiprecision_sub(c, a, b, keyLength); in multiprecision_sub_mod()
244 if(borrow) in multiprecision_sub_mod()