Lines Matching defs:words
35 A CRC of a message is computed on N braids of words in the message, where
38 indices in the array of words: 0, 3, 6, ..., 1, 4, 7, ..., and 2, 5, 8, ...
573 #define Z_BATCH 3990 /* number of words in a batch */
575 #define Z_BATCH_MIN 800 /* fewest words in a final batch */
603 /* Prepare to compute the CRC on full 64-bit words word[0..num-1]. */
609 instruction per cycle. Each CRC is calculated on Z_BATCH words. The
628 /* Do one last smaller batch with the remaining words, if there are enough
650 /* Compute the CRC on any remaining words. */
713 z_word_t const *words;
726 words = (z_word_t const *)buf;
783 word0 = crc0 ^ words[0];
785 word1 = crc1 ^ words[1];
787 word2 = crc2 ^ words[2];
789 word3 = crc3 ^ words[3];
791 word4 = crc4 ^ words[4];
793 word5 = crc5 ^ words[5];
799 words += N;
843 crc = crc_word(crc0 ^ words[0]);
845 crc = crc_word(crc1 ^ words[1] ^ crc);
847 crc = crc_word(crc2 ^ words[2] ^ crc);
849 crc = crc_word(crc3 ^ words[3] ^ crc);
851 crc = crc_word(crc4 ^ words[4] ^ crc);
853 crc = crc_word(crc5 ^ words[5] ^ crc);
859 words += N;
905 word0 = crc0 ^ words[0];
907 word1 = crc1 ^ words[1];
909 word2 = crc2 ^ words[2];
911 word3 = crc3 ^ words[3];
913 word4 = crc4 ^ words[4];
915 word5 = crc5 ^ words[5];
921 words += N;
965 comb = crc_word_big(crc0 ^ words[0]);
967 comb = crc_word_big(crc1 ^ words[1] ^ comb);
969 comb = crc_word_big(crc2 ^ words[2] ^ comb);
971 comb = crc_word_big(crc3 ^ words[3] ^ comb);
973 comb = crc_word_big(crc4 ^ words[4] ^ comb);
975 comb = crc_word_big(crc5 ^ words[5] ^ comb);
981 words += N;
988 buf = (unsigned char const *)words;