Lines Matching refs:acc
524 widelimb temp, acc[9]; in felem_reduce() local
527 memcpy(acc, in, sizeof(widelimb) * 9); in felem_reduce()
529 acc[0] += two124p108m76; in felem_reduce()
530 acc[1] += two124m116m68; in felem_reduce()
531 acc[2] += two124m92m68; in felem_reduce()
532 acc[3] += two124m68; in felem_reduce()
533 acc[4] += two124m68; in felem_reduce()
534 acc[5] += two124m68; in felem_reduce()
535 acc[6] += two124m68; in felem_reduce()
538 acc[8] += in[12] >> 32; in felem_reduce()
539 acc[7] += (in[12] & 0xffffffff) << 24; in felem_reduce()
540 acc[7] += in[12] >> 8; in felem_reduce()
541 acc[6] += (in[12] & 0xff) << 48; in felem_reduce()
542 acc[6] -= in[12] >> 16; in felem_reduce()
543 acc[5] -= (in[12] & 0xffff) << 40; in felem_reduce()
544 acc[6] += in[12] >> 48; in felem_reduce()
545 acc[5] += (in[12] & 0xffffffffffff) << 8; in felem_reduce()
547 acc[7] += in[11] >> 32; in felem_reduce()
548 acc[6] += (in[11] & 0xffffffff) << 24; in felem_reduce()
549 acc[6] += in[11] >> 8; in felem_reduce()
550 acc[5] += (in[11] & 0xff) << 48; in felem_reduce()
551 acc[5] -= in[11] >> 16; in felem_reduce()
552 acc[4] -= (in[11] & 0xffff) << 40; in felem_reduce()
553 acc[5] += in[11] >> 48; in felem_reduce()
554 acc[4] += (in[11] & 0xffffffffffff) << 8; in felem_reduce()
556 acc[6] += in[10] >> 32; in felem_reduce()
557 acc[5] += (in[10] & 0xffffffff) << 24; in felem_reduce()
558 acc[5] += in[10] >> 8; in felem_reduce()
559 acc[4] += (in[10] & 0xff) << 48; in felem_reduce()
560 acc[4] -= in[10] >> 16; in felem_reduce()
561 acc[3] -= (in[10] & 0xffff) << 40; in felem_reduce()
562 acc[4] += in[10] >> 48; in felem_reduce()
563 acc[3] += (in[10] & 0xffffffffffff) << 8; in felem_reduce()
565 acc[5] += in[9] >> 32; in felem_reduce()
566 acc[4] += (in[9] & 0xffffffff) << 24; in felem_reduce()
567 acc[4] += in[9] >> 8; in felem_reduce()
568 acc[3] += (in[9] & 0xff) << 48; in felem_reduce()
569 acc[3] -= in[9] >> 16; in felem_reduce()
570 acc[2] -= (in[9] & 0xffff) << 40; in felem_reduce()
571 acc[3] += in[9] >> 48; in felem_reduce()
572 acc[2] += (in[9] & 0xffffffffffff) << 8; in felem_reduce()
580 acc[4] += acc[8] >> 32; in felem_reduce()
581 acc[3] += (acc[8] & 0xffffffff) << 24; in felem_reduce()
582 acc[3] += acc[8] >> 8; in felem_reduce()
583 acc[2] += (acc[8] & 0xff) << 48; in felem_reduce()
584 acc[2] -= acc[8] >> 16; in felem_reduce()
585 acc[1] -= (acc[8] & 0xffff) << 40; in felem_reduce()
586 acc[2] += acc[8] >> 48; in felem_reduce()
587 acc[1] += (acc[8] & 0xffffffffffff) << 8; in felem_reduce()
589 acc[3] += acc[7] >> 32; in felem_reduce()
590 acc[2] += (acc[7] & 0xffffffff) << 24; in felem_reduce()
591 acc[2] += acc[7] >> 8; in felem_reduce()
592 acc[1] += (acc[7] & 0xff) << 48; in felem_reduce()
593 acc[1] -= acc[7] >> 16; in felem_reduce()
594 acc[0] -= (acc[7] & 0xffff) << 40; in felem_reduce()
595 acc[1] += acc[7] >> 48; in felem_reduce()
596 acc[0] += (acc[7] & 0xffffffffffff) << 8; in felem_reduce()
609 acc[5] += acc[4] >> 56; in felem_reduce()
610 acc[4] &= 0x00ffffffffffffff; in felem_reduce()
612 acc[6] += acc[5] >> 56; in felem_reduce()
613 acc[5] &= 0x00ffffffffffffff; in felem_reduce()
622 temp = acc[6] >> 48; in felem_reduce()
623 acc[6] &= 0x0000ffffffffffff; in felem_reduce()
627 acc[3] += temp >> 40; in felem_reduce()
628 acc[2] += (temp & 0xffffffffff) << 16; in felem_reduce()
629 acc[2] += temp >> 16; in felem_reduce()
630 acc[1] += (temp & 0xffff) << 40; in felem_reduce()
631 acc[1] -= temp >> 24; in felem_reduce()
632 acc[0] -= (temp & 0xffffff) << 32; in felem_reduce()
633 acc[0] += temp; in felem_reduce()
641 acc[1] += acc[0] >> 56; /* acc[1] < acc_old[1] + 2^72 */ in felem_reduce()
642 acc[0] &= 0x00ffffffffffffff; in felem_reduce()
644 acc[2] += acc[1] >> 56; /* acc[2] < acc_old[2] + 2^72 + 2^16 */ in felem_reduce()
645 acc[1] &= 0x00ffffffffffffff; in felem_reduce()
647 acc[3] += acc[2] >> 56; /* acc[3] < acc_old[3] + 2^72 + 2^16 */ in felem_reduce()
648 acc[2] &= 0x00ffffffffffffff; in felem_reduce()
657 acc[4] += acc[3] >> 56; /*- in felem_reduce()
661 acc[3] &= 0x00ffffffffffffff; in felem_reduce()
663 acc[5] += acc[4] >> 56; /*- in felem_reduce()
667 acc[4] &= 0x00ffffffffffffff; in felem_reduce()
669 acc[6] += acc[5] >> 56; /* acc[6] < 2^48 + 1 <= 2^48 */ in felem_reduce()
670 acc[5] &= 0x00ffffffffffffff; in felem_reduce()
673 out[i] = acc[i]; in felem_reduce()