Lines Matching refs:state
784 u64 state[8]; /* the cipher state */ in wp512_process_buffer() local
790 state[0] = block[0] ^ (K[0] = wctx->hash[0]); in wp512_process_buffer()
791 state[1] = block[1] ^ (K[1] = wctx->hash[1]); in wp512_process_buffer()
792 state[2] = block[2] ^ (K[2] = wctx->hash[2]); in wp512_process_buffer()
793 state[3] = block[3] ^ (K[3] = wctx->hash[3]); in wp512_process_buffer()
794 state[4] = block[4] ^ (K[4] = wctx->hash[4]); in wp512_process_buffer()
795 state[5] = block[5] ^ (K[5] = wctx->hash[5]); in wp512_process_buffer()
796 state[6] = block[6] ^ (K[6] = wctx->hash[6]); in wp512_process_buffer()
797 state[7] = block[7] ^ (K[7] = wctx->hash[7]); in wp512_process_buffer()
883 L[0] = C0[(int)(state[0] >> 56) ] ^ in wp512_process_buffer()
884 C1[(int)(state[7] >> 48) & 0xff] ^ in wp512_process_buffer()
885 C2[(int)(state[6] >> 40) & 0xff] ^ in wp512_process_buffer()
886 C3[(int)(state[5] >> 32) & 0xff] ^ in wp512_process_buffer()
887 C4[(int)(state[4] >> 24) & 0xff] ^ in wp512_process_buffer()
888 C5[(int)(state[3] >> 16) & 0xff] ^ in wp512_process_buffer()
889 C6[(int)(state[2] >> 8) & 0xff] ^ in wp512_process_buffer()
890 C7[(int)(state[1] ) & 0xff] ^ in wp512_process_buffer()
893 L[1] = C0[(int)(state[1] >> 56) ] ^ in wp512_process_buffer()
894 C1[(int)(state[0] >> 48) & 0xff] ^ in wp512_process_buffer()
895 C2[(int)(state[7] >> 40) & 0xff] ^ in wp512_process_buffer()
896 C3[(int)(state[6] >> 32) & 0xff] ^ in wp512_process_buffer()
897 C4[(int)(state[5] >> 24) & 0xff] ^ in wp512_process_buffer()
898 C5[(int)(state[4] >> 16) & 0xff] ^ in wp512_process_buffer()
899 C6[(int)(state[3] >> 8) & 0xff] ^ in wp512_process_buffer()
900 C7[(int)(state[2] ) & 0xff] ^ in wp512_process_buffer()
903 L[2] = C0[(int)(state[2] >> 56) ] ^ in wp512_process_buffer()
904 C1[(int)(state[1] >> 48) & 0xff] ^ in wp512_process_buffer()
905 C2[(int)(state[0] >> 40) & 0xff] ^ in wp512_process_buffer()
906 C3[(int)(state[7] >> 32) & 0xff] ^ in wp512_process_buffer()
907 C4[(int)(state[6] >> 24) & 0xff] ^ in wp512_process_buffer()
908 C5[(int)(state[5] >> 16) & 0xff] ^ in wp512_process_buffer()
909 C6[(int)(state[4] >> 8) & 0xff] ^ in wp512_process_buffer()
910 C7[(int)(state[3] ) & 0xff] ^ in wp512_process_buffer()
913 L[3] = C0[(int)(state[3] >> 56) ] ^ in wp512_process_buffer()
914 C1[(int)(state[2] >> 48) & 0xff] ^ in wp512_process_buffer()
915 C2[(int)(state[1] >> 40) & 0xff] ^ in wp512_process_buffer()
916 C3[(int)(state[0] >> 32) & 0xff] ^ in wp512_process_buffer()
917 C4[(int)(state[7] >> 24) & 0xff] ^ in wp512_process_buffer()
918 C5[(int)(state[6] >> 16) & 0xff] ^ in wp512_process_buffer()
919 C6[(int)(state[5] >> 8) & 0xff] ^ in wp512_process_buffer()
920 C7[(int)(state[4] ) & 0xff] ^ in wp512_process_buffer()
923 L[4] = C0[(int)(state[4] >> 56) ] ^ in wp512_process_buffer()
924 C1[(int)(state[3] >> 48) & 0xff] ^ in wp512_process_buffer()
925 C2[(int)(state[2] >> 40) & 0xff] ^ in wp512_process_buffer()
926 C3[(int)(state[1] >> 32) & 0xff] ^ in wp512_process_buffer()
927 C4[(int)(state[0] >> 24) & 0xff] ^ in wp512_process_buffer()
928 C5[(int)(state[7] >> 16) & 0xff] ^ in wp512_process_buffer()
929 C6[(int)(state[6] >> 8) & 0xff] ^ in wp512_process_buffer()
930 C7[(int)(state[5] ) & 0xff] ^ in wp512_process_buffer()
933 L[5] = C0[(int)(state[5] >> 56) ] ^ in wp512_process_buffer()
934 C1[(int)(state[4] >> 48) & 0xff] ^ in wp512_process_buffer()
935 C2[(int)(state[3] >> 40) & 0xff] ^ in wp512_process_buffer()
936 C3[(int)(state[2] >> 32) & 0xff] ^ in wp512_process_buffer()
937 C4[(int)(state[1] >> 24) & 0xff] ^ in wp512_process_buffer()
938 C5[(int)(state[0] >> 16) & 0xff] ^ in wp512_process_buffer()
939 C6[(int)(state[7] >> 8) & 0xff] ^ in wp512_process_buffer()
940 C7[(int)(state[6] ) & 0xff] ^ in wp512_process_buffer()
943 L[6] = C0[(int)(state[6] >> 56) ] ^ in wp512_process_buffer()
944 C1[(int)(state[5] >> 48) & 0xff] ^ in wp512_process_buffer()
945 C2[(int)(state[4] >> 40) & 0xff] ^ in wp512_process_buffer()
946 C3[(int)(state[3] >> 32) & 0xff] ^ in wp512_process_buffer()
947 C4[(int)(state[2] >> 24) & 0xff] ^ in wp512_process_buffer()
948 C5[(int)(state[1] >> 16) & 0xff] ^ in wp512_process_buffer()
949 C6[(int)(state[0] >> 8) & 0xff] ^ in wp512_process_buffer()
950 C7[(int)(state[7] ) & 0xff] ^ in wp512_process_buffer()
953 L[7] = C0[(int)(state[7] >> 56) ] ^ in wp512_process_buffer()
954 C1[(int)(state[6] >> 48) & 0xff] ^ in wp512_process_buffer()
955 C2[(int)(state[5] >> 40) & 0xff] ^ in wp512_process_buffer()
956 C3[(int)(state[4] >> 32) & 0xff] ^ in wp512_process_buffer()
957 C4[(int)(state[3] >> 24) & 0xff] ^ in wp512_process_buffer()
958 C5[(int)(state[2] >> 16) & 0xff] ^ in wp512_process_buffer()
959 C6[(int)(state[1] >> 8) & 0xff] ^ in wp512_process_buffer()
960 C7[(int)(state[0] ) & 0xff] ^ in wp512_process_buffer()
963 state[0] = L[0]; in wp512_process_buffer()
964 state[1] = L[1]; in wp512_process_buffer()
965 state[2] = L[2]; in wp512_process_buffer()
966 state[3] = L[3]; in wp512_process_buffer()
967 state[4] = L[4]; in wp512_process_buffer()
968 state[5] = L[5]; in wp512_process_buffer()
969 state[6] = L[6]; in wp512_process_buffer()
970 state[7] = L[7]; in wp512_process_buffer()
975 wctx->hash[0] ^= state[0] ^ block[0]; in wp512_process_buffer()
976 wctx->hash[1] ^= state[1] ^ block[1]; in wp512_process_buffer()
977 wctx->hash[2] ^= state[2] ^ block[2]; in wp512_process_buffer()
978 wctx->hash[3] ^= state[3] ^ block[3]; in wp512_process_buffer()
979 wctx->hash[4] ^= state[4] ^ block[4]; in wp512_process_buffer()
980 wctx->hash[5] ^= state[5] ^ block[5]; in wp512_process_buffer()
981 wctx->hash[6] ^= state[6] ^ block[6]; in wp512_process_buffer()
982 wctx->hash[7] ^= state[7] ^ block[7]; in wp512_process_buffer()