Lines Matching defs:words
33 A CRC of a message is computed on N braids of words in the message, where
36 indices in the array of words: 0, 3, 6, ..., 1, 4, 7, ..., and 2, 5, 8, ...
571 #define Z_BATCH 3990 /* number of words in a batch */
573 #define Z_BATCH_MIN 800 /* fewest words in a final batch */
601 /* Prepare to compute the CRC on full 64-bit words word[0..num-1]. */
607 instruction per cycle. Each CRC is calculated on Z_BATCH words. The
626 /* Do one last smaller batch with the remaining words, if there are enough
648 /* Compute the CRC on any remaining words. */
711 z_word_t const *words;
724 words = (z_word_t const *)buf;
781 word0 = crc0 ^ words[0];
783 word1 = crc1 ^ words[1];
785 word2 = crc2 ^ words[2];
787 word3 = crc3 ^ words[3];
789 word4 = crc4 ^ words[4];
791 word5 = crc5 ^ words[5];
797 words += N;
841 crc = crc_word(crc0 ^ words[0]);
843 crc = crc_word(crc1 ^ words[1] ^ crc);
845 crc = crc_word(crc2 ^ words[2] ^ crc);
847 crc = crc_word(crc3 ^ words[3] ^ crc);
849 crc = crc_word(crc4 ^ words[4] ^ crc);
851 crc = crc_word(crc5 ^ words[5] ^ crc);
857 words += N;
903 word0 = crc0 ^ words[0];
905 word1 = crc1 ^ words[1];
907 word2 = crc2 ^ words[2];
909 word3 = crc3 ^ words[3];
911 word4 = crc4 ^ words[4];
913 word5 = crc5 ^ words[5];
919 words += N;
963 comb = crc_word_big(crc0 ^ words[0]);
965 comb = crc_word_big(crc1 ^ words[1] ^ comb);
967 comb = crc_word_big(crc2 ^ words[2] ^ comb);
969 comb = crc_word_big(crc3 ^ words[3] ^ comb);
971 comb = crc_word_big(crc4 ^ words[4] ^ comb);
973 comb = crc_word_big(crc5 ^ words[5] ^ comb);
979 words += N;
986 buf = (unsigned char const *)words;