Lines Matching refs:b
367 static uint128_t add_128_128(uint128_t a, uint128_t b) in add_128_128() argument
371 result.m_low = a.m_low + b.m_low; in add_128_128()
372 result.m_high = a.m_high + b.m_high + (result.m_low < a.m_low); in add_128_128()
861 u64 a[ECC_MAX_DIGITS], b[ECC_MAX_DIGITS]; in vli_mod_inv() local
872 vli_set(b, mod, ndigits); in vli_mod_inv()
877 while ((cmp_result = vli_cmp(a, b, ndigits)) != 0) { in vli_mod_inv()
889 } else if (EVEN(b)) { in vli_mod_inv()
890 vli_rshift1(b, ndigits); in vli_mod_inv()
899 vli_sub(a, a, b, ndigits); in vli_mod_inv()
913 vli_sub(b, b, a, ndigits); in vli_mod_inv()
914 vli_rshift1(b, ndigits); in vli_mod_inv()
1448 vli_mod_add(w, w, curve->b, curve->p, pk->ndigits); /* a·x + b */ in ecc_is_pubkey_valid_partial()