Lines Matching refs:in1
420 static void felem_mul_ref(widefelem out, const felem in1, const felem in2) in felem_mul_ref() argument
422 out[0] = ((uint128_t) in1[0]) * in2[0]; in felem_mul_ref()
424 out[1] = ((uint128_t) in1[0]) * in2[1] in felem_mul_ref()
425 + ((uint128_t) in1[1]) * in2[0]; in felem_mul_ref()
427 out[2] = ((uint128_t) in1[0]) * in2[2] in felem_mul_ref()
428 + ((uint128_t) in1[1]) * in2[1] in felem_mul_ref()
429 + ((uint128_t) in1[2]) * in2[0]; in felem_mul_ref()
431 out[3] = ((uint128_t) in1[0]) * in2[3] in felem_mul_ref()
432 + ((uint128_t) in1[1]) * in2[2] in felem_mul_ref()
433 + ((uint128_t) in1[2]) * in2[1] in felem_mul_ref()
434 + ((uint128_t) in1[3]) * in2[0]; in felem_mul_ref()
436 out[4] = ((uint128_t) in1[0]) * in2[4] in felem_mul_ref()
437 + ((uint128_t) in1[1]) * in2[3] in felem_mul_ref()
438 + ((uint128_t) in1[2]) * in2[2] in felem_mul_ref()
439 + ((uint128_t) in1[3]) * in2[1] in felem_mul_ref()
440 + ((uint128_t) in1[4]) * in2[0]; in felem_mul_ref()
442 out[5] = ((uint128_t) in1[0]) * in2[5] in felem_mul_ref()
443 + ((uint128_t) in1[1]) * in2[4] in felem_mul_ref()
444 + ((uint128_t) in1[2]) * in2[3] in felem_mul_ref()
445 + ((uint128_t) in1[3]) * in2[2] in felem_mul_ref()
446 + ((uint128_t) in1[4]) * in2[1] in felem_mul_ref()
447 + ((uint128_t) in1[5]) * in2[0]; in felem_mul_ref()
449 out[6] = ((uint128_t) in1[0]) * in2[6] in felem_mul_ref()
450 + ((uint128_t) in1[1]) * in2[5] in felem_mul_ref()
451 + ((uint128_t) in1[2]) * in2[4] in felem_mul_ref()
452 + ((uint128_t) in1[3]) * in2[3] in felem_mul_ref()
453 + ((uint128_t) in1[4]) * in2[2] in felem_mul_ref()
454 + ((uint128_t) in1[5]) * in2[1] in felem_mul_ref()
455 + ((uint128_t) in1[6]) * in2[0]; in felem_mul_ref()
457 out[7] = ((uint128_t) in1[1]) * in2[6] in felem_mul_ref()
458 + ((uint128_t) in1[2]) * in2[5] in felem_mul_ref()
459 + ((uint128_t) in1[3]) * in2[4] in felem_mul_ref()
460 + ((uint128_t) in1[4]) * in2[3] in felem_mul_ref()
461 + ((uint128_t) in1[5]) * in2[2] in felem_mul_ref()
462 + ((uint128_t) in1[6]) * in2[1]; in felem_mul_ref()
464 out[8] = ((uint128_t) in1[2]) * in2[6] in felem_mul_ref()
465 + ((uint128_t) in1[3]) * in2[5] in felem_mul_ref()
466 + ((uint128_t) in1[4]) * in2[4] in felem_mul_ref()
467 + ((uint128_t) in1[5]) * in2[3] in felem_mul_ref()
468 + ((uint128_t) in1[6]) * in2[2]; in felem_mul_ref()
470 out[9] = ((uint128_t) in1[3]) * in2[6] in felem_mul_ref()
471 + ((uint128_t) in1[4]) * in2[5] in felem_mul_ref()
472 + ((uint128_t) in1[5]) * in2[4] in felem_mul_ref()
473 + ((uint128_t) in1[6]) * in2[3]; in felem_mul_ref()
475 out[10] = ((uint128_t) in1[4]) * in2[6] in felem_mul_ref()
476 + ((uint128_t) in1[5]) * in2[5] in felem_mul_ref()
477 + ((uint128_t) in1[6]) * in2[4]; in felem_mul_ref()
479 out[11] = ((uint128_t) in1[5]) * in2[6] in felem_mul_ref()
480 + ((uint128_t) in1[6]) * in2[5]; in felem_mul_ref()
482 out[12] = ((uint128_t) in1[6]) * in2[6]; in felem_mul_ref()
678 static void felem_mul_wrapper(widefelem out, const felem in1, const felem in2);
682 static void (*felem_mul_p)(widefelem out, const felem in1, const felem in2) =
686 void p384_felem_mul(widefelem out, const felem in1, const felem in2);
714 static void felem_mul_wrapper(widefelem out, const felem in1, const felem in2) in felem_mul_wrapper() argument
717 felem_mul_p(out, in1, in2); in felem_mul_wrapper()
735 static ossl_inline void felem_mul_reduce(felem out, const felem in1, const felem in2) in felem_mul_reduce() argument
739 felem_mul(tmp, in1, in2); in felem_mul_reduce()