Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/
Dp_256_multprecision.c121 DWORD borrow; in multiprecision_sub() local
124 borrow = 0; in multiprecision_sub()
126 temp = a[i] - borrow; in multiprecision_sub()
127 borrow = (temp > a[i]); in multiprecision_sub()
129 borrow |= (c[i] > temp); in multiprecision_sub()
132 return borrow; in multiprecision_sub()
218 DWORD borrow; in multiprecision_sub_mod() local
229 borrow = multiprecision_sub(c, a, b, keyLength); in multiprecision_sub_mod()
230 if (borrow) { in multiprecision_sub_mod()
/hal_espressif-3.7.0/components/bt/porting/ext/tinycrypt/src/
Decc.c194 uECC_word_t borrow = 0; in uECC_vli_sub() local
197 uECC_word_t diff = left[i] - right[i] - borrow; in uECC_vli_sub()
199 borrow = cond_set(val, borrow, (diff != left[i])); in uECC_vli_sub()
203 return borrow; in uECC_vli_sub()
345 uECC_word_t borrow = 0; in uECC_vli_mmod() local
348 uECC_word_t diff = v[index][i] - mod_multiple[i] - borrow; in uECC_vli_mmod()
350 borrow = (diff > v[index][i]); in uECC_vli_mmod()
355 index = !(index ^ borrow); in uECC_vli_mmod()
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc.c194 uECC_word_t borrow = 0; in uECC_vli_sub() local
197 uECC_word_t diff = left[i] - right[i] - borrow; in uECC_vli_sub()
199 borrow = cond_set(val, borrow, (diff != left[i])); in uECC_vli_sub()
203 return borrow; in uECC_vli_sub()
345 uECC_word_t borrow = 0; in uECC_vli_mmod() local
348 uECC_word_t diff = v[index][i] - mod_multiple[i] - borrow; in uECC_vli_mmod()
350 borrow = (diff > v[index][i]); in uECC_vli_mmod()
355 index = !(index ^ borrow); in uECC_vli_mmod()