Lines Matching refs:kPrime
70 static const uint64_t kPrime[4] = {0xfffffffffffffffful, 0xffffffff, 0, variable
358 tmp[0] -= mask & kPrime[0]; in felem_shrink()
359 tmp[1] -= mask & kPrime[1]; in felem_shrink()
361 tmp[3] -= mask & kPrime[3]; in felem_shrink()
733 uint128_t a = ((uint128_t)kPrime[i]) - out[i]; in felem_contract()
740 equal = kPrime[i] ^ out[i]; in felem_contract()
759 subtract_u64(&out[0], &carry, result & kPrime[0]); in felem_contract()
764 subtract_u64(&out[1], &carry, result & kPrime[1]); in felem_contract()
768 subtract_u64(&out[2], &carry, result & kPrime[2]); in felem_contract()
771 subtract_u64(&out[3], &carry, result & kPrime[3]); in felem_contract()
792 is_p = (small[0] ^ kPrime[0]) | (small[1] ^ kPrime[1]) | in smallfelem_is_zero()
793 (small[2] ^ kPrime[2]) | (small[3] ^ kPrime[3]); in smallfelem_is_zero()