Lines Matching defs:checksum
69 // Returns ZX_OK if successful, and increments checksum with the section checksum.
71 size_t len, uint32_t ram_addr, uint32_t* checksum) {
87 *checksum += image_data[i];
113 uint32_t checksum = 0;
135 status = fx3_write_section(fx3, fw_vmo, offset, len_dwords * 4, ram_addr, &checksum);
149 zxlogf(ERROR, "could not read expected checksum, err: %d\n", status);
152 if (checksum != expected_checksum) {
153 zxlogf(ERROR, "got bad checksum %u, want %u\n", checksum, expected_checksum);