Home
last modified time | relevance | path

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

/tinycrypt-3.7.0/lib/source/
Decc_dsa.c199 uECC_word_t sum[NUM_ECC_WORDS * 2]; in uECC_verify() local
244 uECC_vli_set(sum, _public, num_words); in uECC_verify()
245 uECC_vli_set(sum + num_words, _public + num_words, num_words); in uECC_verify()
248 uECC_vli_modSub(z, sum, tx, curve->p, num_words); /* z = x2 - x1 */ in uECC_verify()
249 XYcZ_add(tx, ty, sum, sum + num_words, curve); in uECC_verify()
251 apply_z(sum, sum + num_words, z, curve); in uECC_verify()
257 points[3] = sum; in uECC_verify()
Decc.c214 uECC_word_t sum = left[i] + right[i] + carry; in uECC_vli_add() local
215 uECC_word_t val = (sum < left[i]); in uECC_vli_add()
216 carry = cond_set(val, carry, (sum != left[i])); in uECC_vli_add()
217 result[i] = sum; in uECC_vli_add()