Lines Matching refs:small

259 static void smallfelem_neg(felem out, const smallfelem small)  in smallfelem_neg()  argument
262 out[0] = zero105[0] - small[0]; in smallfelem_neg()
263 out[1] = zero105[1] - small[1]; in smallfelem_neg()
264 out[2] = zero105[2] - small[2]; in smallfelem_neg()
265 out[3] = zero105[3] - small[3]; in smallfelem_neg()
487 static void smallfelem_square(longfelem out, const smallfelem small) in smallfelem_square() argument
492 a = ((uint128_t) small[0]) * small[0]; in smallfelem_square()
498 a = ((uint128_t) small[0]) * small[1]; in smallfelem_square()
505 a = ((uint128_t) small[0]) * small[2]; in smallfelem_square()
512 a = ((uint128_t) small[0]) * small[3]; in smallfelem_square()
518 a = ((uint128_t) small[1]) * small[2]; in smallfelem_square()
525 a = ((uint128_t) small[1]) * small[1]; in smallfelem_square()
531 a = ((uint128_t) small[1]) * small[3]; in smallfelem_square()
538 a = ((uint128_t) small[2]) * small[3]; in smallfelem_square()
546 a = ((uint128_t) small[2]) * small[2]; in smallfelem_square()
552 a = ((uint128_t) small[3]) * small[3]; in smallfelem_square()
568 u64 small[4]; in felem_square() local
569 felem_shrink(small, in); in felem_square()
570 smallfelem_square(out, small); in felem_square()
937 static limb smallfelem_is_zero(const smallfelem small) in smallfelem_is_zero() argument
942 u64 is_zero = small[0] | small[1] | small[2] | small[3]; in smallfelem_is_zero()
952 is_p = (small[0] ^ kPrime[0]) | in smallfelem_is_zero()
953 (small[1] ^ kPrime[1]) | in smallfelem_is_zero()
954 (small[2] ^ kPrime[2]) | (small[3] ^ kPrime[3]); in smallfelem_is_zero()
971 static int smallfelem_is_zero_int(const void *small) in smallfelem_is_zero_int() argument
973 return (int)(smallfelem_is_zero(small) & ((limb) 1)); in smallfelem_is_zero_int()