Searched refs:sum1 (Results 1 – 1 of 1) sorted by relevance
1941 let mut sum1: u16 = 0; in fletcher_16_checksum() localVariable1944 sum1 = (sum1 + (c as u16)) % 0xff; in fletcher_16_checksum()1945 sum2 = (sum1 + sum2) & 0xff; in fletcher_16_checksum()1947 return (sum2 << 8) | sum1; in fletcher_16_checksum()