Lines Matching refs:limb
115 typedef uint128_t limb; typedef
116 typedef limb felem[NLIMBS];
117 typedef limb longfelem[NLIMBS * 2];
246 #define two105m41m9 (((limb)1) << 105) - (((limb)1) << 41) - (((limb)1) << 9)
247 #define two105 (((limb)1) << 105)
248 #define two105m41p9 (((limb)1) << 105) - (((limb)1) << 41) + (((limb)1) << 9)
291 #define two107m43m11 (((limb)1) << 107) - (((limb)1) << 43) - (((limb)1) << 11)
292 #define two107 (((limb)1) << 107)
293 #define two107m43p11 (((limb)1) << 107) - (((limb)1) << 43) + (((limb)1) << 11)
333 static const limb two70m8p6 = in longfelem_diff()
334 (((limb) 1) << 70) - (((limb) 1) << 8) + (((limb) 1) << 6); in longfelem_diff()
335 static const limb two70p40 = (((limb) 1) << 70) + (((limb) 1) << 40); in longfelem_diff()
336 static const limb two70 = (((limb) 1) << 70); in longfelem_diff()
337 static const limb two70m40m38p6 = in longfelem_diff()
338 (((limb) 1) << 70) - (((limb) 1) << 40) - (((limb) 1) << 38) + in longfelem_diff()
339 (((limb) 1) << 6); in longfelem_diff()
340 static const limb two70m6 = (((limb) 1) << 70) - (((limb) 1) << 6); in longfelem_diff()
363 #define two64m0 (((limb)1) << 64) - 1
364 #define two110p32m0 (((limb)1) << 110) + (((limb)1) << 32) - 1
365 #define two64m46 (((limb)1) << 64) - (((limb)1) << 46)
366 #define two64m32 (((limb)1) << 64) - (((limb)1) << 32)
403 tmp[3] += ((limb) a) << 32; in felem_shrink()
411 tmp[3] += ((limb) a) << 32; in felem_shrink()
419 tmp[1] -= (((limb) b) << 32); in felem_shrink()
489 limb a; in smallfelem_square()
584 limb a; in smallfelem_mul()
716 #define two100m36m4 (((limb)1) << 100) - (((limb)1) << 36) - (((limb)1) << 4)
717 #define two100 (((limb)1) << 100)
718 #define two100m36p4 (((limb)1) << 100) - (((limb)1) << 36) + (((limb)1) << 4)
937 static limb smallfelem_is_zero(const smallfelem small) in smallfelem_is_zero()
939 limb result; in smallfelem_is_zero()
967 result |= ((limb) is_zero) << 64; in smallfelem_is_zero()
973 return (int)(smallfelem_is_zero(small) & ((limb) 1)); in smallfelem_is_zero_int()
1206 static void copy_conditional(felem out, const felem in, limb mask) in copy_conditional()
1210 const limb tmp = mask & (in[i] ^ out[i]); in copy_conditional()
1216 static void copy_small_conditional(felem out, const smallfelem in, limb mask) in copy_small_conditional()
1221 out[i] = ((limb) (in[i] & mask64)) | (out[i] & ~mask); in copy_small_conditional()
1245 limb x_equal, y_equal, z1_is_zero, z2_is_zero; in point_add()
1246 limb points_equal; in point_add()
1753 copy_small_conditional(ftmp, tmp[1], (((limb) sign) - 1)); in batch_mul()