Home | History | Annotate | Download | only in ec

Lines Matching defs:small1

473 /* smallfelem_mul sets |out| = |small1| * |small2|
475 * small1[i] < 2^64
479 static void smallfelem_mul(longfelem out, const smallfelem small1,
484 a = ((uint128_t)small1[0]) * small2[0];
490 a = ((uint128_t)small1[0]) * small2[1];
496 a = ((uint128_t)small1[1]) * small2[0];
502 a = ((uint128_t)small1[0]) * small2[2];
508 a = ((uint128_t)small1[1]) * small2[1];
514 a = ((uint128_t)small1[2]) * small2[0];
520 a = ((uint128_t)small1[0]) * small2[3];
526 a = ((uint128_t)small1[1]) * small2[2];
532 a = ((uint128_t)small1[2]) * small2[1];
538 a = ((uint128_t)small1[3]) * small2[0];
544 a = ((uint128_t)small1[1]) * small2[3];
550 a = ((uint128_t)small1[2]) * small2[2];
556 a = ((uint128_t)small1[3]) * small2[1];
562 a = ((uint128_t)small1[2]) * small2[3];
568 a = ((uint128_t)small1[3]) * small2[2];
574 a = ((uint128_t)small1[3]) * small2[3];
588 smallfelem small1, small2;
589 felem_shrink(small1, in1);
591 smallfelem_mul(out, small1, small2);
594 /* felem_small_mul sets |out| = |small1| * |in2|
596 * small1[i] < 2^64
600 static void felem_small_mul(longfelem out, const smallfelem small1,
604 smallfelem_mul(out, small1, small2);
926 smallfelem small1, small2;
942 felem_shrink(small1, gamma);
945 felem_small_mul(tmp, small1, x_in);
988 smallfelem_square(tmp2, small1);
1048 smallfelem small1, small2, small3, small4, small5;
1060 felem_shrink(small1, ftmp);
1116 smallfelem_mul(tmp, x2, small1);
1132 smallfelem_mul(tmp, small1, small3);
1144 felem_shrink(small1, ftmp5);
1145 small1);
1168 smallfelem_square(tmp, small1);
1180 felem_small_mul(tmp, small1, ftmp3);