• Home
  • Raw
  • Download

Lines Matching refs:small

258 static void smallfelem_neg(felem out, const smallfelem small)  in smallfelem_neg()  argument
261 out[0] = zero105[0] - small[0]; in smallfelem_neg()
262 out[1] = zero105[1] - small[1]; in smallfelem_neg()
263 out[2] = zero105[2] - small[2]; in smallfelem_neg()
264 out[3] = zero105[3] - small[3]; in smallfelem_neg()
485 static void smallfelem_square(longfelem out, const smallfelem small) in smallfelem_square() argument
490 a = ((uint128_t) small[0]) * small[0]; in smallfelem_square()
496 a = ((uint128_t) small[0]) * small[1]; in smallfelem_square()
503 a = ((uint128_t) small[0]) * small[2]; in smallfelem_square()
510 a = ((uint128_t) small[0]) * small[3]; in smallfelem_square()
516 a = ((uint128_t) small[1]) * small[2]; in smallfelem_square()
523 a = ((uint128_t) small[1]) * small[1]; in smallfelem_square()
529 a = ((uint128_t) small[1]) * small[3]; in smallfelem_square()
536 a = ((uint128_t) small[2]) * small[3]; in smallfelem_square()
544 a = ((uint128_t) small[2]) * small[2]; in smallfelem_square()
550 a = ((uint128_t) small[3]) * small[3]; in smallfelem_square()
566 u64 small[4]; in felem_square() local
567 felem_shrink(small, in); in felem_square()
568 smallfelem_square(out, small); in felem_square()
935 static limb smallfelem_is_zero(const smallfelem small) in smallfelem_is_zero() argument
940 u64 is_zero = small[0] | small[1] | small[2] | small[3]; in smallfelem_is_zero()
950 is_p = (small[0] ^ kPrime[0]) | in smallfelem_is_zero()
951 (small[1] ^ kPrime[1]) | in smallfelem_is_zero()
952 (small[2] ^ kPrime[2]) | (small[3] ^ kPrime[3]); in smallfelem_is_zero()
969 static int smallfelem_is_zero_int(const void *small) in smallfelem_is_zero_int() argument
971 return (int)(smallfelem_is_zero(small) & ((limb) 1)); in smallfelem_is_zero_int()