Lines Matching refs:kPrime
95 static const u64 kPrime[4] = {0xfffffffffffffffful, 0xffffffff, 0, variable
386 tmp[0] -= mask & kPrime[0]; in felem_shrink()
387 tmp[1] -= mask & kPrime[1]; in felem_shrink()
389 tmp[3] -= mask & kPrime[3]; in felem_shrink()
762 uint128_t a = ((uint128_t)kPrime[i]) - out[i]; in felem_contract()
769 equal = kPrime[i] ^ out[i]; in felem_contract()
788 subtract_u64(&out[0], &carry, result & kPrime[0]); in felem_contract()
793 subtract_u64(&out[1], &carry, result & kPrime[1]); in felem_contract()
797 subtract_u64(&out[2], &carry, result & kPrime[2]); in felem_contract()
800 subtract_u64(&out[3], &carry, result & kPrime[3]); in felem_contract()
840 is_p = (small[0] ^ kPrime[0]) | (small[1] ^ kPrime[1]) | in smallfelem_is_zero()
841 (small[2] ^ kPrime[2]) | (small[3] ^ kPrime[3]); in smallfelem_is_zero()