Home | History | Annotate | Download | only in ec

Lines Matching defs:small1

501 /* smallfelem_mul sets |out| = |small1| * |small2|
503 * small1[i] < 2^64
507 static void smallfelem_mul(longfelem out, const smallfelem small1,
512 a = ((uint128_t)small1[0]) * small2[0];
518 a = ((uint128_t)small1[0]) * small2[1];
524 a = ((uint128_t)small1[1]) * small2[0];
530 a = ((uint128_t)small1[0]) * small2[2];
536 a = ((uint128_t)small1[1]) * small2[1];
542 a = ((uint128_t)small1[2]) * small2[0];
548 a = ((uint128_t)small1[0]) * small2[3];
554 a = ((uint128_t)small1[1]) * small2[2];
560 a = ((uint128_t)small1[2]) * small2[1];
566 a = ((uint128_t)small1[3]) * small2[0];
572 a = ((uint128_t)small1[1]) * small2[3];
578 a = ((uint128_t)small1[2]) * small2[2];
584 a = ((uint128_t)small1[3]) * small2[1];
590 a = ((uint128_t)small1[2]) * small2[3];
596 a = ((uint128_t)small1[3]) * small2[2];
602 a = ((uint128_t)small1[3]) * small2[3];
616 smallfelem small1, small2;
617 felem_shrink(small1, in1);
619 smallfelem_mul(out, small1, small2);
622 /* felem_small_mul sets |out| = |small1| * |in2|
624 * small1[i] < 2^64
628 static void felem_small_mul(longfelem out, const smallfelem small1,
632 smallfelem_mul(out, small1, small2);
987 smallfelem small1, small2;
1003 felem_shrink(small1, gamma);
1006 felem_small_mul(tmp, small1, x_in);
1049 smallfelem_square(tmp2, small1);
1111 smallfelem small1, small2, small3, small4, small5;
1123 felem_shrink(small1, ftmp);
1179 smallfelem_mul(tmp, x2, small1);
1195 smallfelem_mul(tmp, small1, small3);
1207 felem_shrink(small1, ftmp5);
1208 y_equal = smallfelem_is_zero(small1);
1231 smallfelem_square(tmp, small1);
1243 felem_small_mul(tmp, small1, ftmp3);