Lines Matching full:length
73 unsigned int length) in crc32_update() argument
77 *crc = crc32_armv8_le(*crc, data, length); in crc32_update()
82 unsigned int length) in crc32c_update() argument
86 *crc = crc32c_armv8_le(*crc, data, length); in crc32c_update()
107 unsigned int length) in crc32_pmull_update() argument
114 l = min_t(u32, length, SCALE_F - ((u32)data % SCALE_F)); in crc32_pmull_update()
119 length -= l; in crc32_pmull_update()
122 if (length >= PMULL_MIN_LEN) { in crc32_pmull_update()
123 l = round_down(length, SCALE_F); in crc32_pmull_update()
130 length -= l; in crc32_pmull_update()
134 if (length > 0) in crc32_pmull_update()
135 *crc = fallback_crc32(*crc, data, length); in crc32_pmull_update()
141 unsigned int length) in crc32c_pmull_update() argument
148 l = min_t(u32, length, SCALE_F - ((u32)data % SCALE_F)); in crc32c_pmull_update()
153 length -= l; in crc32c_pmull_update()
156 if (length >= PMULL_MIN_LEN) { in crc32c_pmull_update()
157 l = round_down(length, SCALE_F); in crc32c_pmull_update()
164 length -= l; in crc32c_pmull_update()
168 if (length > 0) in crc32c_pmull_update()
169 *crc = fallback_crc32c(*crc, data, length); in crc32c_pmull_update()