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()
222 uint8_t expected_checksum, checksum = 0; in gdb_get_packet() local257 if (hex2bin(checksum_buf, 2, &expected_checksum, 1) == 0) { in gdb_get_packet()262 if (checksum != expected_checksum) { in gdb_get_packet()264 checksum, expected_checksum); in gdb_get_packet()