Lines Matching refs:B

697     uint64_t B[5], C[5], D[5];  in FourRounds()  local
714 B[0] = A[0][0] ^ D[0]; /* rotate by 0 */ in FourRounds()
715 B[1] = ROL64(A[1][1] ^ D[1], rhotates[1][1]); in FourRounds()
716 B[2] = ROL64(A[2][2] ^ D[2], rhotates[2][2]); in FourRounds()
717 B[3] = ROL64(A[3][3] ^ D[3], rhotates[3][3]); in FourRounds()
718 B[4] = ROL64(A[4][4] ^ D[4], rhotates[4][4]); in FourRounds()
720 C[0] = A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i]; in FourRounds()
721 C[1] = A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
722 C[2] = A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
723 C[3] = A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
724 C[4] = A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
726 B[0] = ROL64(A[0][3] ^ D[3], rhotates[0][3]); in FourRounds()
727 B[1] = ROL64(A[1][4] ^ D[4], rhotates[1][4]); in FourRounds()
728 B[2] = ROL64(A[2][0] ^ D[0], rhotates[2][0]); in FourRounds()
729 B[3] = ROL64(A[3][1] ^ D[1], rhotates[3][1]); in FourRounds()
730 B[4] = ROL64(A[4][2] ^ D[2], rhotates[4][2]); in FourRounds()
732 C[0] ^= A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
733 C[1] ^= A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
734 C[2] ^= A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
735 C[3] ^= A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
736 C[4] ^= A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
738 B[0] = ROL64(A[0][1] ^ D[1], rhotates[0][1]); in FourRounds()
739 B[1] = ROL64(A[1][2] ^ D[2], rhotates[1][2]); in FourRounds()
740 B[2] = ROL64(A[2][3] ^ D[3], rhotates[2][3]); in FourRounds()
741 B[3] = ROL64(A[3][4] ^ D[4], rhotates[3][4]); in FourRounds()
742 B[4] = ROL64(A[4][0] ^ D[0], rhotates[4][0]); in FourRounds()
744 C[0] ^= A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
745 C[1] ^= A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
746 C[2] ^= A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
747 C[3] ^= A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
748 C[4] ^= A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
750 B[0] = ROL64(A[0][4] ^ D[4], rhotates[0][4]); in FourRounds()
751 B[1] = ROL64(A[1][0] ^ D[0], rhotates[1][0]); in FourRounds()
752 B[2] = ROL64(A[2][1] ^ D[1], rhotates[2][1]); in FourRounds()
753 B[3] = ROL64(A[3][2] ^ D[2], rhotates[3][2]); in FourRounds()
754 B[4] = ROL64(A[4][3] ^ D[3], rhotates[4][3]); in FourRounds()
756 C[0] ^= A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
757 C[1] ^= A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
758 C[2] ^= A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
759 C[3] ^= A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
760 C[4] ^= A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
762 B[0] = ROL64(A[0][2] ^ D[2], rhotates[0][2]); in FourRounds()
763 B[1] = ROL64(A[1][3] ^ D[3], rhotates[1][3]); in FourRounds()
764 B[2] = ROL64(A[2][4] ^ D[4], rhotates[2][4]); in FourRounds()
765 B[3] = ROL64(A[3][0] ^ D[0], rhotates[3][0]); in FourRounds()
766 B[4] = ROL64(A[4][1] ^ D[1], rhotates[4][1]); in FourRounds()
768 C[0] ^= A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
769 C[1] ^= A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
770 C[2] ^= A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
771 C[3] ^= A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
772 C[4] ^= A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
781 B[0] = A[0][0] ^ D[0]; /* rotate by 0 */ in FourRounds()
782 B[1] = ROL64(A[3][1] ^ D[1], rhotates[1][1]); in FourRounds()
783 B[2] = ROL64(A[1][2] ^ D[2], rhotates[2][2]); in FourRounds()
784 B[3] = ROL64(A[4][3] ^ D[3], rhotates[3][3]); in FourRounds()
785 B[4] = ROL64(A[2][4] ^ D[4], rhotates[4][4]); in FourRounds()
787 C[0] = A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i + 1]; in FourRounds()
788 C[1] = A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
789 C[2] = A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
790 C[3] = A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
791 C[4] = A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
793 B[0] = ROL64(A[3][3] ^ D[3], rhotates[0][3]); in FourRounds()
794 B[1] = ROL64(A[1][4] ^ D[4], rhotates[1][4]); in FourRounds()
795 B[2] = ROL64(A[4][0] ^ D[0], rhotates[2][0]); in FourRounds()
796 B[3] = ROL64(A[2][1] ^ D[1], rhotates[3][1]); in FourRounds()
797 B[4] = ROL64(A[0][2] ^ D[2], rhotates[4][2]); in FourRounds()
799 C[0] ^= A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
800 C[1] ^= A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
801 C[2] ^= A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
802 C[3] ^= A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
803 C[4] ^= A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
805 B[0] = ROL64(A[1][1] ^ D[1], rhotates[0][1]); in FourRounds()
806 B[1] = ROL64(A[4][2] ^ D[2], rhotates[1][2]); in FourRounds()
807 B[2] = ROL64(A[2][3] ^ D[3], rhotates[2][3]); in FourRounds()
808 B[3] = ROL64(A[0][4] ^ D[4], rhotates[3][4]); in FourRounds()
809 B[4] = ROL64(A[3][0] ^ D[0], rhotates[4][0]); in FourRounds()
811 C[0] ^= A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
812 C[1] ^= A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
813 C[2] ^= A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
814 C[3] ^= A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
815 C[4] ^= A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
817 B[0] = ROL64(A[4][4] ^ D[4], rhotates[0][4]); in FourRounds()
818 B[1] = ROL64(A[2][0] ^ D[0], rhotates[1][0]); in FourRounds()
819 B[2] = ROL64(A[0][1] ^ D[1], rhotates[2][1]); in FourRounds()
820 B[3] = ROL64(A[3][2] ^ D[2], rhotates[3][2]); in FourRounds()
821 B[4] = ROL64(A[1][3] ^ D[3], rhotates[4][3]); in FourRounds()
823 C[0] ^= A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
824 C[1] ^= A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
825 C[2] ^= A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
826 C[3] ^= A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
827 C[4] ^= A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
829 B[0] = ROL64(A[2][2] ^ D[2], rhotates[0][2]); in FourRounds()
830 B[1] = ROL64(A[0][3] ^ D[3], rhotates[1][3]); in FourRounds()
831 B[2] = ROL64(A[3][4] ^ D[4], rhotates[2][4]); in FourRounds()
832 B[3] = ROL64(A[1][0] ^ D[0], rhotates[3][0]); in FourRounds()
833 B[4] = ROL64(A[4][1] ^ D[1], rhotates[4][1]); in FourRounds()
835 C[0] ^= A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
836 C[1] ^= A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
837 C[2] ^= A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
838 C[3] ^= A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
839 C[4] ^= A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
848 B[0] = A[0][0] ^ D[0]; /* rotate by 0 */ in FourRounds()
849 B[1] = ROL64(A[2][1] ^ D[1], rhotates[1][1]); in FourRounds()
850 B[2] = ROL64(A[4][2] ^ D[2], rhotates[2][2]); in FourRounds()
851 B[3] = ROL64(A[1][3] ^ D[3], rhotates[3][3]); in FourRounds()
852 B[4] = ROL64(A[3][4] ^ D[4], rhotates[4][4]); in FourRounds()
854 C[0] = A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i + 2]; in FourRounds()
855 C[1] = A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
856 C[2] = A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
857 C[3] = A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
858 C[4] = A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
860 B[0] = ROL64(A[4][3] ^ D[3], rhotates[0][3]); in FourRounds()
861 B[1] = ROL64(A[1][4] ^ D[4], rhotates[1][4]); in FourRounds()
862 B[2] = ROL64(A[3][0] ^ D[0], rhotates[2][0]); in FourRounds()
863 B[3] = ROL64(A[0][1] ^ D[1], rhotates[3][1]); in FourRounds()
864 B[4] = ROL64(A[2][2] ^ D[2], rhotates[4][2]); in FourRounds()
866 C[0] ^= A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
867 C[1] ^= A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
868 C[2] ^= A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
869 C[3] ^= A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
870 C[4] ^= A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
872 B[0] = ROL64(A[3][1] ^ D[1], rhotates[0][1]); in FourRounds()
873 B[1] = ROL64(A[0][2] ^ D[2], rhotates[1][2]); in FourRounds()
874 B[2] = ROL64(A[2][3] ^ D[3], rhotates[2][3]); in FourRounds()
875 B[3] = ROL64(A[4][4] ^ D[4], rhotates[3][4]); in FourRounds()
876 B[4] = ROL64(A[1][0] ^ D[0], rhotates[4][0]); in FourRounds()
878 C[0] ^= A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
879 C[1] ^= A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
880 C[2] ^= A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
881 C[3] ^= A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
882 C[4] ^= A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
884 B[0] = ROL64(A[2][4] ^ D[4], rhotates[0][4]); in FourRounds()
885 B[1] = ROL64(A[4][0] ^ D[0], rhotates[1][0]); in FourRounds()
886 B[2] = ROL64(A[1][1] ^ D[1], rhotates[2][1]); in FourRounds()
887 B[3] = ROL64(A[3][2] ^ D[2], rhotates[3][2]); in FourRounds()
888 B[4] = ROL64(A[0][3] ^ D[3], rhotates[4][3]); in FourRounds()
890 C[0] ^= A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
891 C[1] ^= A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
892 C[2] ^= A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
893 C[3] ^= A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
894 C[4] ^= A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
896 B[0] = ROL64(A[1][2] ^ D[2], rhotates[0][2]); in FourRounds()
897 B[1] = ROL64(A[3][3] ^ D[3], rhotates[1][3]); in FourRounds()
898 B[2] = ROL64(A[0][4] ^ D[4], rhotates[2][4]); in FourRounds()
899 B[3] = ROL64(A[2][0] ^ D[0], rhotates[3][0]); in FourRounds()
900 B[4] = ROL64(A[4][1] ^ D[1], rhotates[4][1]); in FourRounds()
902 C[0] ^= A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
903 C[1] ^= A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
904 C[2] ^= A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
905 C[3] ^= A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
906 C[4] ^= A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
915 B[0] = A[0][0] ^ D[0]; /* rotate by 0 */ in FourRounds()
916 B[1] = ROL64(A[0][1] ^ D[1], rhotates[1][1]); in FourRounds()
917 B[2] = ROL64(A[0][2] ^ D[2], rhotates[2][2]); in FourRounds()
918 B[3] = ROL64(A[0][3] ^ D[3], rhotates[3][3]); in FourRounds()
919 B[4] = ROL64(A[0][4] ^ D[4], rhotates[4][4]); in FourRounds()
921 /* C[0] = */ A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i + 3]; in FourRounds()
922 /* C[1] = */ A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
923 /* C[2] = */ A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
924 /* C[3] = */ A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
925 /* C[4] = */ A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
927 B[0] = ROL64(A[1][3] ^ D[3], rhotates[0][3]); in FourRounds()
928 B[1] = ROL64(A[1][4] ^ D[4], rhotates[1][4]); in FourRounds()
929 B[2] = ROL64(A[1][0] ^ D[0], rhotates[2][0]); in FourRounds()
930 B[3] = ROL64(A[1][1] ^ D[1], rhotates[3][1]); in FourRounds()
931 B[4] = ROL64(A[1][2] ^ D[2], rhotates[4][2]); in FourRounds()
933 /* C[0] ^= */ A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
934 /* C[1] ^= */ A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
935 /* C[2] ^= */ A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
936 /* C[3] ^= */ A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
937 /* C[4] ^= */ A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
939 B[0] = ROL64(A[2][1] ^ D[1], rhotates[0][1]); in FourRounds()
940 B[1] = ROL64(A[2][2] ^ D[2], rhotates[1][2]); in FourRounds()
941 B[2] = ROL64(A[2][3] ^ D[3], rhotates[2][3]); in FourRounds()
942 B[3] = ROL64(A[2][4] ^ D[4], rhotates[3][4]); in FourRounds()
943 B[4] = ROL64(A[2][0] ^ D[0], rhotates[4][0]); in FourRounds()
945 /* C[0] ^= */ A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
946 /* C[1] ^= */ A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
947 /* C[2] ^= */ A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
948 /* C[3] ^= */ A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
949 /* C[4] ^= */ A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
951 B[0] = ROL64(A[3][4] ^ D[4], rhotates[0][4]); in FourRounds()
952 B[1] = ROL64(A[3][0] ^ D[0], rhotates[1][0]); in FourRounds()
953 B[2] = ROL64(A[3][1] ^ D[1], rhotates[2][1]); in FourRounds()
954 B[3] = ROL64(A[3][2] ^ D[2], rhotates[3][2]); in FourRounds()
955 B[4] = ROL64(A[3][3] ^ D[3], rhotates[4][3]); in FourRounds()
957 /* C[0] ^= */ A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
958 /* C[1] ^= */ A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
959 /* C[2] ^= */ A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
960 /* C[3] ^= */ A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
961 /* C[4] ^= */ A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
963 B[0] = ROL64(A[4][2] ^ D[2], rhotates[0][2]); in FourRounds()
964 B[1] = ROL64(A[4][3] ^ D[3], rhotates[1][3]); in FourRounds()
965 B[2] = ROL64(A[4][4] ^ D[4], rhotates[2][4]); in FourRounds()
966 B[3] = ROL64(A[4][0] ^ D[0], rhotates[3][0]); in FourRounds()
967 B[4] = ROL64(A[4][1] ^ D[1], rhotates[4][1]); in FourRounds()
969 /* C[0] ^= */ A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
970 /* C[1] ^= */ A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
971 /* C[2] ^= */ A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
972 /* C[3] ^= */ A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
973 /* C[4] ^= */ A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()