Lines Matching refs:state
786 u64 state[8]; /* the cipher state */ in wp512_process_buffer() local
793 state[0] = block[0] ^ (K[0] = wctx->hash[0]); in wp512_process_buffer()
794 state[1] = block[1] ^ (K[1] = wctx->hash[1]); in wp512_process_buffer()
795 state[2] = block[2] ^ (K[2] = wctx->hash[2]); in wp512_process_buffer()
796 state[3] = block[3] ^ (K[3] = wctx->hash[3]); in wp512_process_buffer()
797 state[4] = block[4] ^ (K[4] = wctx->hash[4]); in wp512_process_buffer()
798 state[5] = block[5] ^ (K[5] = wctx->hash[5]); in wp512_process_buffer()
799 state[6] = block[6] ^ (K[6] = wctx->hash[6]); in wp512_process_buffer()
800 state[7] = block[7] ^ (K[7] = wctx->hash[7]); in wp512_process_buffer()
886 L[0] = C0[(int)(state[0] >> 56) ] ^ in wp512_process_buffer()
887 C1[(int)(state[7] >> 48) & 0xff] ^ in wp512_process_buffer()
888 C2[(int)(state[6] >> 40) & 0xff] ^ in wp512_process_buffer()
889 C3[(int)(state[5] >> 32) & 0xff] ^ in wp512_process_buffer()
890 C4[(int)(state[4] >> 24) & 0xff] ^ in wp512_process_buffer()
891 C5[(int)(state[3] >> 16) & 0xff] ^ in wp512_process_buffer()
892 C6[(int)(state[2] >> 8) & 0xff] ^ in wp512_process_buffer()
893 C7[(int)(state[1] ) & 0xff] ^ in wp512_process_buffer()
896 L[1] = C0[(int)(state[1] >> 56) ] ^ in wp512_process_buffer()
897 C1[(int)(state[0] >> 48) & 0xff] ^ in wp512_process_buffer()
898 C2[(int)(state[7] >> 40) & 0xff] ^ in wp512_process_buffer()
899 C3[(int)(state[6] >> 32) & 0xff] ^ in wp512_process_buffer()
900 C4[(int)(state[5] >> 24) & 0xff] ^ in wp512_process_buffer()
901 C5[(int)(state[4] >> 16) & 0xff] ^ in wp512_process_buffer()
902 C6[(int)(state[3] >> 8) & 0xff] ^ in wp512_process_buffer()
903 C7[(int)(state[2] ) & 0xff] ^ in wp512_process_buffer()
906 L[2] = C0[(int)(state[2] >> 56) ] ^ in wp512_process_buffer()
907 C1[(int)(state[1] >> 48) & 0xff] ^ in wp512_process_buffer()
908 C2[(int)(state[0] >> 40) & 0xff] ^ in wp512_process_buffer()
909 C3[(int)(state[7] >> 32) & 0xff] ^ in wp512_process_buffer()
910 C4[(int)(state[6] >> 24) & 0xff] ^ in wp512_process_buffer()
911 C5[(int)(state[5] >> 16) & 0xff] ^ in wp512_process_buffer()
912 C6[(int)(state[4] >> 8) & 0xff] ^ in wp512_process_buffer()
913 C7[(int)(state[3] ) & 0xff] ^ in wp512_process_buffer()
916 L[3] = C0[(int)(state[3] >> 56) ] ^ in wp512_process_buffer()
917 C1[(int)(state[2] >> 48) & 0xff] ^ in wp512_process_buffer()
918 C2[(int)(state[1] >> 40) & 0xff] ^ in wp512_process_buffer()
919 C3[(int)(state[0] >> 32) & 0xff] ^ in wp512_process_buffer()
920 C4[(int)(state[7] >> 24) & 0xff] ^ in wp512_process_buffer()
921 C5[(int)(state[6] >> 16) & 0xff] ^ in wp512_process_buffer()
922 C6[(int)(state[5] >> 8) & 0xff] ^ in wp512_process_buffer()
923 C7[(int)(state[4] ) & 0xff] ^ in wp512_process_buffer()
926 L[4] = C0[(int)(state[4] >> 56) ] ^ in wp512_process_buffer()
927 C1[(int)(state[3] >> 48) & 0xff] ^ in wp512_process_buffer()
928 C2[(int)(state[2] >> 40) & 0xff] ^ in wp512_process_buffer()
929 C3[(int)(state[1] >> 32) & 0xff] ^ in wp512_process_buffer()
930 C4[(int)(state[0] >> 24) & 0xff] ^ in wp512_process_buffer()
931 C5[(int)(state[7] >> 16) & 0xff] ^ in wp512_process_buffer()
932 C6[(int)(state[6] >> 8) & 0xff] ^ in wp512_process_buffer()
933 C7[(int)(state[5] ) & 0xff] ^ in wp512_process_buffer()
936 L[5] = C0[(int)(state[5] >> 56) ] ^ in wp512_process_buffer()
937 C1[(int)(state[4] >> 48) & 0xff] ^ in wp512_process_buffer()
938 C2[(int)(state[3] >> 40) & 0xff] ^ in wp512_process_buffer()
939 C3[(int)(state[2] >> 32) & 0xff] ^ in wp512_process_buffer()
940 C4[(int)(state[1] >> 24) & 0xff] ^ in wp512_process_buffer()
941 C5[(int)(state[0] >> 16) & 0xff] ^ in wp512_process_buffer()
942 C6[(int)(state[7] >> 8) & 0xff] ^ in wp512_process_buffer()
943 C7[(int)(state[6] ) & 0xff] ^ in wp512_process_buffer()
946 L[6] = C0[(int)(state[6] >> 56) ] ^ in wp512_process_buffer()
947 C1[(int)(state[5] >> 48) & 0xff] ^ in wp512_process_buffer()
948 C2[(int)(state[4] >> 40) & 0xff] ^ in wp512_process_buffer()
949 C3[(int)(state[3] >> 32) & 0xff] ^ in wp512_process_buffer()
950 C4[(int)(state[2] >> 24) & 0xff] ^ in wp512_process_buffer()
951 C5[(int)(state[1] >> 16) & 0xff] ^ in wp512_process_buffer()
952 C6[(int)(state[0] >> 8) & 0xff] ^ in wp512_process_buffer()
953 C7[(int)(state[7] ) & 0xff] ^ in wp512_process_buffer()
956 L[7] = C0[(int)(state[7] >> 56) ] ^ in wp512_process_buffer()
957 C1[(int)(state[6] >> 48) & 0xff] ^ in wp512_process_buffer()
958 C2[(int)(state[5] >> 40) & 0xff] ^ in wp512_process_buffer()
959 C3[(int)(state[4] >> 32) & 0xff] ^ in wp512_process_buffer()
960 C4[(int)(state[3] >> 24) & 0xff] ^ in wp512_process_buffer()
961 C5[(int)(state[2] >> 16) & 0xff] ^ in wp512_process_buffer()
962 C6[(int)(state[1] >> 8) & 0xff] ^ in wp512_process_buffer()
963 C7[(int)(state[0] ) & 0xff] ^ in wp512_process_buffer()
966 state[0] = L[0]; in wp512_process_buffer()
967 state[1] = L[1]; in wp512_process_buffer()
968 state[2] = L[2]; in wp512_process_buffer()
969 state[3] = L[3]; in wp512_process_buffer()
970 state[4] = L[4]; in wp512_process_buffer()
971 state[5] = L[5]; in wp512_process_buffer()
972 state[6] = L[6]; in wp512_process_buffer()
973 state[7] = L[7]; in wp512_process_buffer()
978 wctx->hash[0] ^= state[0] ^ block[0]; in wp512_process_buffer()
979 wctx->hash[1] ^= state[1] ^ block[1]; in wp512_process_buffer()
980 wctx->hash[2] ^= state[2] ^ block[2]; in wp512_process_buffer()
981 wctx->hash[3] ^= state[3] ^ block[3]; in wp512_process_buffer()
982 wctx->hash[4] ^= state[4] ^ block[4]; in wp512_process_buffer()
983 wctx->hash[5] ^= state[5] ^ block[5]; in wp512_process_buffer()
984 wctx->hash[6] ^= state[6] ^ block[6]; in wp512_process_buffer()
985 wctx->hash[7] ^= state[7] ^ block[7]; in wp512_process_buffer()