Searched refs:expected_checksum (Results 1 – 2 of 2) sorted by relevance
221 uint32_t expected_checksum = 0; in retention_is_valid() local235 expected_checksum = (uint32_t)read_checksum; in retention_is_valid()241 expected_checksum = (uint32_t)read_checksum; in retention_is_valid()244 (void *)&expected_checksum, in retention_is_valid()245 sizeof(expected_checksum)); in retention_is_valid()252 if (checksum != expected_checksum) { in retention_is_valid()
232 uint8_t expected_checksum, checksum = 0; in gdb_get_packet() local267 if (hex2bin(checksum_buf, 2, &expected_checksum, 1) == 0) { in gdb_get_packet()272 if (checksum != expected_checksum) { in gdb_get_packet()274 checksum, expected_checksum); in gdb_get_packet()