Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 25 of 46) sorted by relevance

12

/qemu/rust/
H A DCargo.lock9 checksum = "c84fc003e338a6f69fbd4f7fe9f92b535ff13e9af8997f3b14b6ddff8b1df46d"
15 checksum = "dc707ed8ebf81de5cd6c7f48f54b4c8621760926cdf35a57000747c512e67b57"
25 checksum = "feb11e002038ad243af39c2068c8a72bcf147acf05025dcdb916fcc000adb2d8"
38 checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
52 checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
61 checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
77 checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
89 checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
100 checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6"
126 checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
[all …]
/qemu/block/
H A Dvhdx-endian.c38 h->checksum = le32_to_cpu(h->checksum); in vhdx_header_le_import()
57 new_h->checksum = cpu_to_le32(orig_h->checksum); in vhdx_header_le_export()
121 hdr->checksum = le32_to_cpu(hdr->checksum); in vhdx_log_entry_hdr_le_import()
136 hdr->checksum = cpu_to_le32(hdr->checksum); in vhdx_log_entry_hdr_le_export()
153 hdr->checksum = le32_to_cpu(hdr->checksum); in vhdx_region_header_le_import()
162 hdr->checksum = cpu_to_le32(hdr->checksum); in vhdx_region_header_le_export()
H A Dvpc.c91 uint32_t checksum; member
117 uint32_t checksum; member
262 uint32_t checksum; in vpc_open() local
323 checksum = be32_to_cpu(footer->checksum); in vpc_open()
324 footer->checksum = 0; in vpc_open()
325 if (vpc_checksum(footer, sizeof(*footer)) != checksum) { in vpc_open()
332 footer->checksum = cpu_to_be32(checksum); in vpc_open()
882 dyndisk_header.checksum = cpu_to_be32( in create_dynamic_disk()
1080 footer.checksum = cpu_to_be32(vpc_checksum(&footer, sizeof(footer))); in vpc_co_create()
H A Dvhdx.h97 uint32_t checksum; /* CRC-32C hash of the whole header */ member
138 uint32_t checksum; /* CRC-32C hash of the 64KB table */ member
168 uint32_t checksum; /* CRC-32C hash of the 64KB table */ member
/qemu/scripts/
H A Dsignrom.py46 checksum = 0 variable
48 checksum = (checksum - b) & 255 variable
50 fout.write(struct.pack('B', checksum))
/qemu/hw/mips/
H A Djazz.c121 int checksum, i; in mips_jazz_init_net() local
143 checksum = 0; in mips_jazz_init_net()
146 checksum += prom[i]; in mips_jazz_init_net()
147 if (checksum > 0xff) { in mips_jazz_init_net()
148 checksum = (checksum + 1) & 0xff; in mips_jazz_init_net()
151 prom[7] = 0xff - checksum; in mips_jazz_init_net()
/qemu/include/hw/nvram/
H A Dsun_nvram.h12 uint8_t checksum; /* bitwise xor of previous bytes */ member
32 header->checksum = tmp; in Sun_init_header()
H A Dchrp_nvram.h26 uint8_t checksum; member
50 header->checksum = sum & 0xff; in chrp_nvram_finish_partition()
/qemu/hw/xen/
H A Dxen_pt_graphics.c173 char checksum = 0; in xen_pt_setup_vga() local
215 checksum += *c; in xen_pt_setup_vga()
217 if (checksum) { in xen_pt_setup_vga()
218 bios[len - 1] -= checksum; in xen_pt_setup_vga()
220 checksum); in xen_pt_setup_vga()
/qemu/hw/net/
H A De1000x_common.c201 uint16_t checksum = 0; in e1000x_core_prepare_eeprom() local
213 checksum += eeprom[i]; in e1000x_core_prepare_eeprom()
216 checksum = (uint16_t) EEPROM_SUM - checksum; in e1000x_core_prepare_eeprom()
218 eeprom[EEPROM_CHECKSUM_REG] = checksum; in e1000x_core_prepare_eeprom()
H A Ddp8393x.c728 uint32_t checksum; in dp8393x_receive() local
738 rx_len = pkt_size + sizeof(checksum); in dp8393x_receive()
782 checksum = cpu_to_le32(crc32(0, buf, pkt_size)); in dp8393x_receive()
793 &checksum, sizeof(checksum)); in dp8393x_receive()
794 address += sizeof(checksum); in dp8393x_receive()
H A Dtrace-events66 net_rx_pkt_l4_csum_validate_entry(void) "Starting L4 checksum validation"
68 net_rx_pkt_l4_csum_validate_udp_with_no_checksum(void) "UDP packet without checksum"
72 net_rx_pkt_l4_csum_calc_entry(void) "Starting L4 checksum calculation"
77 net_rx_pkt_l4_csum_calc_ph_csum(uint32_t cntr, uint16_t csl) "Pseudo-header: checksum counter %u, l…
78 …int16_t csum) "L4 Checksum: L4 header offset: %zu, length: %u, counter: 0x%X, final checksum: 0x%X"
80 net_rx_pkt_l4_csum_fix_entry(void) "Starting L4 checksum correction"
85 net_rx_pkt_l4_csum_fix_udp_with_no_checksum(void) "UDP packet without checksum"
88 net_rx_pkt_l3_csum_validate_entry(void) "Starting L3 checksum validation"
90 …d) "L3 Checksum: L3 header offset: %zu, length: %u, counter: 0x%X, final checksum: 0x%X, valid: %d"
191 e1000e_rx_metadata_virthdr_no_csum_info(void) "virt-header does not contain checksum info"
[all …]
/qemu/tests/functional/
H A Dtest_mips64el_fuloong2e.py51 checksum = output.split()[0]
52 assert checksum.decode("utf-8") == sha
/qemu/hw/ppc/
H A Dprep.c215 uint16_t checksum = *(uint16_t *)opaque; in prep_set_cmos_checksum() local
219 mc146818rtc_set_cmos_data(rtc, 0x2e, checksum & 0xff); in prep_set_cmos_checksum()
220 mc146818rtc_set_cmos_data(rtc, 0x3e, checksum & 0xff); in prep_set_cmos_checksum()
221 mc146818rtc_set_cmos_data(rtc, 0x2f, checksum >> 8); in prep_set_cmos_checksum()
222 mc146818rtc_set_cmos_data(rtc, 0x3f, checksum >> 8); in prep_set_cmos_checksum()
/qemu/hw/i386/
H A Dmultiboot.c173 uint32_t checksum = ldl_le_p(header + i + 8); in load_multiboot() local
175 checksum += flags; in load_multiboot()
176 checksum += (uint32_t)0x1BADB002; in load_multiboot()
177 if (!checksum) { in load_multiboot()
/qemu/gdbstub/
H A Dtrace-events27 gdbstub_err_checksum_invalid(uint8_t ch) "got invalid command checksum digit: 0x%02x"
28 …rrect(uint8_t expected, uint8_t got) "got command packet with incorrect checksum, expected=0x%02x,…
/qemu/python/scripts/
H A Dvendor.py51 for dep_spec, checksum in packages.items():
/qemu/tests/docker/
H A Ddocker.py310 checksum = _text_checksum(dockerfile)
325 tmp_df.write("LABEL com.qemu.dockerfile-checksum=%s\n" % (checksum))
353 checksum = self.get_image_dockerfile_checksum(tag)
356 return checksum == _text_checksum(dockerfile)
/qemu/hw/m68k/
H A Dq800.c257 int i, checksum; in q800_machine_init() local
417 checksum = 0; in q800_machine_init()
420 checksum ^= prom[i]; in q800_machine_init()
422 prom[7] = 0xff - checksum; in q800_machine_init()
/qemu/include/hw/firmware/
H A Dsmbios.h63 uint8_t checksum; member
84 uint8_t checksum; member
/qemu/tests/vm/
H A Dbasevm.py208 checksum = subprocess.check_output(["sha256sum", fname]).split()[0]
209 return sha256sum == checksum.decode("utf-8")
214 checksum = subprocess.check_output(["sha512sum", fname]).split()[0]
215 return sha512sum == checksum.decode("utf-8")
/qemu/tests/functional/acpi-bits/bits-tests/
H A Dtestacpi.py2232 testsuite.test('ACPI table cumulative checksum must equal 0', csum == 0)
233 testsuite.print_detail("Cumulative checksum = {} (Expected 0)".format(csum))
276 testsuite.test('ACPI 1.0 table first 20 bytes cumulative checksum must equal 0', csum == 0)
277 testsuite.print_detail("Cumulative checksum = {} (Expected 0)".format(csum))
/qemu/pc-bios/optionrom/
H A DMakefile56 $(call quiet-command,$(PYTHON) $(TOPSRC_DIR)/scripts/signrom.py $< $@,Computing checksum into)
/qemu/include/hw/cxl/
H A Dcxl_cdat.h52 uint8_t checksum; member
/qemu/hw/acpi/
H A Dcore.c44 uint8_t checksum; /* To make sum of entire table == 0 */ member
211 ext_hdr->checksum = 0; in acpi_table_install()
241 ext_hdr->checksum = acpi_checksum((const char unsigned *)ext_hdr + in acpi_table_install()

12