Lines Matching refs:in1
546 /* Multiply two field elements: out = in1 * in2 */
547 static void felem_mul(widefelem out, const felem in1, const felem in2)
549 out[0] = ((widelimb) in1[0]) * in2[0];
550 out[1] = ((widelimb) in1[0]) * in2[1] + ((widelimb) in1[1]) * in2[0];
551 out[2] = ((widelimb) in1[0]) * in2[2] + ((widelimb) in1[1]) * in2[1] +
552 ((widelimb) in1[2]) * in2[0];
553 out[3] = ((widelimb) in1[0]) * in2[3] + ((widelimb) in1[1]) * in2[2] +
554 ((widelimb) in1[2]) * in2[1] + ((widelimb) in1[3]) * in2[0];
555 out[4] = ((widelimb) in1[1]) * in2[3] + ((widelimb) in1[2]) * in2[2] +
556 ((widelimb) in1[3]) * in2[1];
557 out[5] = ((widelimb) in1[2]) * in2[3] + ((widelimb) in1[3]) * in2[2];
558 out[6] = ((widelimb) in1[3]) * in2[3];
636 static void felem_mul_reduce(felem out, const felem in1, const felem in2)
639 felem_mul(tmp, in1, in2);