Lines Matching refs:in1

488 static void felem_mul_ref(largefelem out, const felem in1, const felem in2)  in felem_mul_ref()  argument
493 out[0] = ((uint128_t) in1[0]) * in2[0]; in felem_mul_ref()
495 out[1] = ((uint128_t) in1[0]) * in2[1] + in felem_mul_ref()
496 ((uint128_t) in1[1]) * in2[0]; in felem_mul_ref()
498 out[2] = ((uint128_t) in1[0]) * in2[2] + in felem_mul_ref()
499 ((uint128_t) in1[1]) * in2[1] + in felem_mul_ref()
500 ((uint128_t) in1[2]) * in2[0]; in felem_mul_ref()
502 out[3] = ((uint128_t) in1[0]) * in2[3] + in felem_mul_ref()
503 ((uint128_t) in1[1]) * in2[2] + in felem_mul_ref()
504 ((uint128_t) in1[2]) * in2[1] + in felem_mul_ref()
505 ((uint128_t) in1[3]) * in2[0]; in felem_mul_ref()
507 out[4] = ((uint128_t) in1[0]) * in2[4] + in felem_mul_ref()
508 ((uint128_t) in1[1]) * in2[3] + in felem_mul_ref()
509 ((uint128_t) in1[2]) * in2[2] + in felem_mul_ref()
510 ((uint128_t) in1[3]) * in2[1] + in felem_mul_ref()
511 ((uint128_t) in1[4]) * in2[0]; in felem_mul_ref()
513 out[5] = ((uint128_t) in1[0]) * in2[5] + in felem_mul_ref()
514 ((uint128_t) in1[1]) * in2[4] + in felem_mul_ref()
515 ((uint128_t) in1[2]) * in2[3] + in felem_mul_ref()
516 ((uint128_t) in1[3]) * in2[2] + in felem_mul_ref()
517 ((uint128_t) in1[4]) * in2[1] + in felem_mul_ref()
518 ((uint128_t) in1[5]) * in2[0]; in felem_mul_ref()
520 out[6] = ((uint128_t) in1[0]) * in2[6] + in felem_mul_ref()
521 ((uint128_t) in1[1]) * in2[5] + in felem_mul_ref()
522 ((uint128_t) in1[2]) * in2[4] + in felem_mul_ref()
523 ((uint128_t) in1[3]) * in2[3] + in felem_mul_ref()
524 ((uint128_t) in1[4]) * in2[2] + in felem_mul_ref()
525 ((uint128_t) in1[5]) * in2[1] + in felem_mul_ref()
526 ((uint128_t) in1[6]) * in2[0]; in felem_mul_ref()
528 out[7] = ((uint128_t) in1[0]) * in2[7] + in felem_mul_ref()
529 ((uint128_t) in1[1]) * in2[6] + in felem_mul_ref()
530 ((uint128_t) in1[2]) * in2[5] + in felem_mul_ref()
531 ((uint128_t) in1[3]) * in2[4] + in felem_mul_ref()
532 ((uint128_t) in1[4]) * in2[3] + in felem_mul_ref()
533 ((uint128_t) in1[5]) * in2[2] + in felem_mul_ref()
534 ((uint128_t) in1[6]) * in2[1] + in felem_mul_ref()
535 ((uint128_t) in1[7]) * in2[0]; in felem_mul_ref()
537 out[8] = ((uint128_t) in1[0]) * in2[8] + in felem_mul_ref()
538 ((uint128_t) in1[1]) * in2[7] + in felem_mul_ref()
539 ((uint128_t) in1[2]) * in2[6] + in felem_mul_ref()
540 ((uint128_t) in1[3]) * in2[5] + in felem_mul_ref()
541 ((uint128_t) in1[4]) * in2[4] + in felem_mul_ref()
542 ((uint128_t) in1[5]) * in2[3] + in felem_mul_ref()
543 ((uint128_t) in1[6]) * in2[2] + in felem_mul_ref()
544 ((uint128_t) in1[7]) * in2[1] + in felem_mul_ref()
545 ((uint128_t) in1[8]) * in2[0]; in felem_mul_ref()
549 out[0] += ((uint128_t) in1[1]) * in2x2[8] + in felem_mul_ref()
550 ((uint128_t) in1[2]) * in2x2[7] + in felem_mul_ref()
551 ((uint128_t) in1[3]) * in2x2[6] + in felem_mul_ref()
552 ((uint128_t) in1[4]) * in2x2[5] + in felem_mul_ref()
553 ((uint128_t) in1[5]) * in2x2[4] + in felem_mul_ref()
554 ((uint128_t) in1[6]) * in2x2[3] + in felem_mul_ref()
555 ((uint128_t) in1[7]) * in2x2[2] + in felem_mul_ref()
556 ((uint128_t) in1[8]) * in2x2[1]; in felem_mul_ref()
558 out[1] += ((uint128_t) in1[2]) * in2x2[8] + in felem_mul_ref()
559 ((uint128_t) in1[3]) * in2x2[7] + in felem_mul_ref()
560 ((uint128_t) in1[4]) * in2x2[6] + in felem_mul_ref()
561 ((uint128_t) in1[5]) * in2x2[5] + in felem_mul_ref()
562 ((uint128_t) in1[6]) * in2x2[4] + in felem_mul_ref()
563 ((uint128_t) in1[7]) * in2x2[3] + in felem_mul_ref()
564 ((uint128_t) in1[8]) * in2x2[2]; in felem_mul_ref()
566 out[2] += ((uint128_t) in1[3]) * in2x2[8] + in felem_mul_ref()
567 ((uint128_t) in1[4]) * in2x2[7] + in felem_mul_ref()
568 ((uint128_t) in1[5]) * in2x2[6] + in felem_mul_ref()
569 ((uint128_t) in1[6]) * in2x2[5] + in felem_mul_ref()
570 ((uint128_t) in1[7]) * in2x2[4] + in felem_mul_ref()
571 ((uint128_t) in1[8]) * in2x2[3]; in felem_mul_ref()
573 out[3] += ((uint128_t) in1[4]) * in2x2[8] + in felem_mul_ref()
574 ((uint128_t) in1[5]) * in2x2[7] + in felem_mul_ref()
575 ((uint128_t) in1[6]) * in2x2[6] + in felem_mul_ref()
576 ((uint128_t) in1[7]) * in2x2[5] + in felem_mul_ref()
577 ((uint128_t) in1[8]) * in2x2[4]; in felem_mul_ref()
579 out[4] += ((uint128_t) in1[5]) * in2x2[8] + in felem_mul_ref()
580 ((uint128_t) in1[6]) * in2x2[7] + in felem_mul_ref()
581 ((uint128_t) in1[7]) * in2x2[6] + in felem_mul_ref()
582 ((uint128_t) in1[8]) * in2x2[5]; in felem_mul_ref()
584 out[5] += ((uint128_t) in1[6]) * in2x2[8] + in felem_mul_ref()
585 ((uint128_t) in1[7]) * in2x2[7] + in felem_mul_ref()
586 ((uint128_t) in1[8]) * in2x2[6]; in felem_mul_ref()
588 out[6] += ((uint128_t) in1[7]) * in2x2[8] + in felem_mul_ref()
589 ((uint128_t) in1[8]) * in2x2[7]; in felem_mul_ref()
591 out[7] += ((uint128_t) in1[8]) * in2x2[8]; in felem_mul_ref()
680 static void felem_mul_wrapper(largefelem out, const felem in1, const felem in2);
684 static void (*felem_mul_p)(largefelem out, const felem in1, const felem in2) =
688 void p521_felem_mul(largefelem out, const felem in1, const felem in2);
716 static void felem_mul_wrapper(largefelem out, const felem in1, const felem in2) in felem_mul_wrapper() argument
719 felem_mul_p(out, in1, in2); in felem_mul_wrapper()
736 static 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()