Lines Matching refs:g

667     SHA_LONG64 a, b, c, d, e, f, g, h, s0, s1, T1, T2;  in sha512_block_data_order()  local
679 g = ctx->h[6]; in sha512_block_data_order()
688 T1 += h + Sigma1(e) + Ch(e, f, g) + K512[i]; in sha512_block_data_order()
690 h = g; in sha512_block_data_order()
691 g = f; in sha512_block_data_order()
707 T1 += h + Sigma1(e) + Ch(e, f, g) + K512[i]; in sha512_block_data_order()
709 h = g; in sha512_block_data_order()
710 g = f; in sha512_block_data_order()
725 ctx->h[6] += g; in sha512_block_data_order()
733 # define ROUND_00_15(i,a,b,c,d,e,f,g,h) do { \ argument
734 T1 += h + Sigma1(e) + Ch(e,f,g) + K512[i]; \
738 # define ROUND_16_80(i,j,a,b,c,d,e,f,g,h,X) do { \ argument
742 ROUND_00_15(i+j,a,b,c,d,e,f,g,h); } while (0)
752 SHA_LONG64 a, b, c, d, e, f, g, h, s0, s1, T1; in sha512_block_data_order_c() local
764 g = ctx->h[6]; in sha512_block_data_order_c()
769 ROUND_00_15(0, a, b, c, d, e, f, g, h); in sha512_block_data_order_c()
771 ROUND_00_15(1, h, a, b, c, d, e, f, g); in sha512_block_data_order_c()
773 ROUND_00_15(2, g, h, a, b, c, d, e, f); in sha512_block_data_order_c()
775 ROUND_00_15(3, f, g, h, a, b, c, d, e); in sha512_block_data_order_c()
777 ROUND_00_15(4, e, f, g, h, a, b, c, d); in sha512_block_data_order_c()
779 ROUND_00_15(5, d, e, f, g, h, a, b, c); in sha512_block_data_order_c()
781 ROUND_00_15(6, c, d, e, f, g, h, a, b); in sha512_block_data_order_c()
783 ROUND_00_15(7, b, c, d, e, f, g, h, a); in sha512_block_data_order_c()
785 ROUND_00_15(8, a, b, c, d, e, f, g, h); in sha512_block_data_order_c()
787 ROUND_00_15(9, h, a, b, c, d, e, f, g); in sha512_block_data_order_c()
789 ROUND_00_15(10, g, h, a, b, c, d, e, f); in sha512_block_data_order_c()
791 ROUND_00_15(11, f, g, h, a, b, c, d, e); in sha512_block_data_order_c()
793 ROUND_00_15(12, e, f, g, h, a, b, c, d); in sha512_block_data_order_c()
795 ROUND_00_15(13, d, e, f, g, h, a, b, c); in sha512_block_data_order_c()
797 ROUND_00_15(14, c, d, e, f, g, h, a, b); in sha512_block_data_order_c()
799 ROUND_00_15(15, b, c, d, e, f, g, h, a); in sha512_block_data_order_c()
802 ROUND_00_15(0, a, b, c, d, e, f, g, h); in sha512_block_data_order_c()
804 ROUND_00_15(1, h, a, b, c, d, e, f, g); in sha512_block_data_order_c()
806 ROUND_00_15(2, g, h, a, b, c, d, e, f); in sha512_block_data_order_c()
808 ROUND_00_15(3, f, g, h, a, b, c, d, e); in sha512_block_data_order_c()
810 ROUND_00_15(4, e, f, g, h, a, b, c, d); in sha512_block_data_order_c()
812 ROUND_00_15(5, d, e, f, g, h, a, b, c); in sha512_block_data_order_c()
814 ROUND_00_15(6, c, d, e, f, g, h, a, b); in sha512_block_data_order_c()
816 ROUND_00_15(7, b, c, d, e, f, g, h, a); in sha512_block_data_order_c()
818 ROUND_00_15(8, a, b, c, d, e, f, g, h); in sha512_block_data_order_c()
820 ROUND_00_15(9, h, a, b, c, d, e, f, g); in sha512_block_data_order_c()
822 ROUND_00_15(10, g, h, a, b, c, d, e, f); in sha512_block_data_order_c()
824 ROUND_00_15(11, f, g, h, a, b, c, d, e); in sha512_block_data_order_c()
826 ROUND_00_15(12, e, f, g, h, a, b, c, d); in sha512_block_data_order_c()
828 ROUND_00_15(13, d, e, f, g, h, a, b, c); in sha512_block_data_order_c()
830 ROUND_00_15(14, c, d, e, f, g, h, a, b); in sha512_block_data_order_c()
832 ROUND_00_15(15, b, c, d, e, f, g, h, a); in sha512_block_data_order_c()
836 ROUND_16_80(i, 0, a, b, c, d, e, f, g, h, X); in sha512_block_data_order_c()
837 ROUND_16_80(i, 1, h, a, b, c, d, e, f, g, X); in sha512_block_data_order_c()
838 ROUND_16_80(i, 2, g, h, a, b, c, d, e, f, X); in sha512_block_data_order_c()
839 ROUND_16_80(i, 3, f, g, h, a, b, c, d, e, X); in sha512_block_data_order_c()
840 ROUND_16_80(i, 4, e, f, g, h, a, b, c, d, X); in sha512_block_data_order_c()
841 ROUND_16_80(i, 5, d, e, f, g, h, a, b, c, X); in sha512_block_data_order_c()
842 ROUND_16_80(i, 6, c, d, e, f, g, h, a, b, X); in sha512_block_data_order_c()
843 ROUND_16_80(i, 7, b, c, d, e, f, g, h, a, X); in sha512_block_data_order_c()
844 ROUND_16_80(i, 8, a, b, c, d, e, f, g, h, X); in sha512_block_data_order_c()
845 ROUND_16_80(i, 9, h, a, b, c, d, e, f, g, X); in sha512_block_data_order_c()
846 ROUND_16_80(i, 10, g, h, a, b, c, d, e, f, X); in sha512_block_data_order_c()
847 ROUND_16_80(i, 11, f, g, h, a, b, c, d, e, X); in sha512_block_data_order_c()
848 ROUND_16_80(i, 12, e, f, g, h, a, b, c, d, X); in sha512_block_data_order_c()
849 ROUND_16_80(i, 13, d, e, f, g, h, a, b, c, X); in sha512_block_data_order_c()
850 ROUND_16_80(i, 14, c, d, e, f, g, h, a, b, X); in sha512_block_data_order_c()
851 ROUND_16_80(i, 15, b, c, d, e, f, g, h, a, X); in sha512_block_data_order_c()
860 ctx->h[6] += g; in sha512_block_data_order_c()