Lines Matching defs:checksum
1413 uint8_t checksum;
1429 * verify the checksum of the data. A 2's compliment
1431 * last byte. The sum of all the checksum should be
1432 * 0. If the checksum is bad, return an error for
1437 for (i = checksum = 0; i < 512; i++)
1438 checksum += index[i];
1440 if ((checksum != 0) && env_debug) {
1442 "SMART checksum error! 0x%x\n", checksum);
1478 * If the checksum is valid, the temp. attributes are