Lines Matching defs:small1
572 * smallfelem_mul sets |out| = |small1| * |small2|
574 * small1[i] < 2^64
579 static void smallfelem_mul(longfelem out, const smallfelem small1,
585 a = ((uint128_t) small1[0]) * small2[0];
591 a = ((uint128_t) small1[0]) * small2[1];
597 a = ((uint128_t) small1[1]) * small2[0];
603 a = ((uint128_t) small1[0]) * small2[2];
609 a = ((uint128_t) small1[1]) * small2[1];
615 a = ((uint128_t) small1[2]) * small2[0];
621 a = ((uint128_t) small1[0]) * small2[3];
627 a = ((uint128_t) small1[1]) * small2[2];
633 a = ((uint128_t) small1[2]) * small2[1];
639 a = ((uint128_t) small1[3]) * small2[0];
645 a = ((uint128_t) small1[1]) * small2[3];
651 a = ((uint128_t) small1[2]) * small2[2];
657 a = ((uint128_t) small1[3]) * small2[1];
663 a = ((uint128_t) small1[2]) * small2[3];
669 a = ((uint128_t) small1[3]) * small2[2];
675 a = ((uint128_t) small1[3]) * small2[3];
692 smallfelem small1, small2;
693 felem_shrink(small1, in1);
695 smallfelem_mul(out, small1, small2);
699 * felem_small_mul sets |out| = |small1| * |in2|
701 * small1[i] < 2^64
706 static void felem_small_mul(longfelem out, const smallfelem small1,
711 smallfelem_mul(out, small1, small2);
1109 smallfelem small1, small2;
1125 felem_shrink(small1, gamma);
1128 felem_small_mul(tmp, small1, x_in);
1171 smallfelem_square(tmp2, small1);
1242 smallfelem small1, small2, small3, small4, small5;
1255 felem_shrink(small1, ftmp);
1313 smallfelem_mul(tmp, x2, small1);
1329 smallfelem_mul(tmp, small1, small3);
1341 felem_shrink(small1, ftmp5);
1342 y_equal = smallfelem_is_zero(small1);
1384 smallfelem_square(tmp, small1);
1396 felem_small_mul(tmp, small1, ftmp3);