Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 25 of 105) sorted by relevance

12345

/u-boot/lib/efi_selftest/
A Defi_selftest_crc32.c17 u32 *crc32);
22 u32 crc32, res; in check_table() local
43 crc32 = hdr->crc32; in check_table()
48 hdr->crc32 = 0; in check_table()
51 hdr->crc32 = crc32; in check_table()
56 if (res != crc32) { in check_table()
137 EFI_UNIT_TEST(crc32) = {
A Defi_selftest_config_table.c42 u32 crc32, res; in check_table() local
46 crc32 = hdr->crc32; in check_table()
51 hdr->crc32 = 0; in check_table()
54 hdr->crc32 = crc32; in check_table()
59 if (res != crc32) { in check_table()
A Defi_selftest_mem.c41 u32 crc32; in execute() local
44 ret = boottime->calculate_crc32(c1, 16, &crc32); in execute()
49 if (crc32 != 0x943ac093) { in execute()
/u-boot/board/corscience/tricorder/
A Dtricorder-eeprom.c30 uint32_t crc32; in handle_eeprom_v0() member
44 crc = crc32(0L, (unsigned char *)&eepromv0, in handle_eeprom_v0()
45 sizeof(eepromv0) - sizeof(eepromv0.crc32)); in handle_eeprom_v0()
46 if (be32_to_cpu(eepromv0.crc32) != crc) { in handle_eeprom_v0()
47 warn_wrong_value("CRC", be32_to_cpu(eepromv0.crc32), in handle_eeprom_v0()
55 crc = crc32(0L, (unsigned char *)eeprom, TRICORDER_EEPROM_CRC_SIZE); in handle_eeprom_v0()
56 eeprom->crc32 = cpu_to_be32(crc); in handle_eeprom_v0()
71 crc = crc32(0L, (unsigned char *)eeprom, TRICORDER_EEPROM_CRC_SIZE); in handle_eeprom_v1()
72 if (be32_to_cpu(eeprom->crc32) != crc) { in handle_eeprom_v1()
73 warn_wrong_value("CRC", be32_to_cpu(eeprom->crc32), crc); in handle_eeprom_v1()
[all …]
A Dtricorder-eeprom.h28 uint32_t crc32; member
/u-boot/common/
A Diotrace.c37 u32 crc32; member
76 iotrace.crc32 = crc32(iotrace.crc32, (unsigned char *)rec, in add_record()
133 iotrace.crc32 = 0; in iotrace_reset_checksum()
138 return iotrace.crc32; in iotrace_get_checksum()
174 iotrace.crc32 = 0; in iotrace_set_buffer()
/u-boot/doc/uImage.FIT/
A Dkernel_fdts_compressed.its24 algo = "crc32";
37 algo = "crc32";
50 algo = "crc32";
A Dkernel_fdt.its22 algo = "crc32";
35 algo = "crc32";
A Dhowto.txt182 Hash algo: crc32
227 Hash algo: crc32
249 Hash algo: crc32
253 Verifying Hash Integrity ... crc32+ sha1+ OK
292 Hash algo: crc32
302 Hash algo: crc32
342 Hash algo: crc32
353 Hash algo: crc32
375 Hash algo: crc32
379 Verifying Hash Integrity ... crc32+ sha1+ OK
[all …]
A Dmulti.its81 algo = "crc32";
92 algo = "crc32";
/u-boot/tools/binman/test/
A D161_fit.dts26 algo = "crc32";
40 algo = "crc32";
A D162_fit_external.dts27 algo = "crc32";
41 algo = "crc32";
/u-boot/tools/
A Ddefault_image.c71 if (crc32(0, data, len) != checksum) { in image_verify_header()
81 if (crc32(0, data, len) != checksum) { in image_verify_header()
100 checksum = crc32(0, in image_set_header()
136 checksum = crc32(0, (const unsigned char *)hdr, in image_set_header()
A Denvcrc.c62 extern uint32_t crc32(uint32_t, const unsigned char *, unsigned int);
92 crc = crc32(0, dataptr, datasize); in main()
/u-boot/test/fs/
A Dfat-noncontig-test.sh64 for prereq in fallocate mkfs.fat dd crc32; do
121 crc=0x`crc32 ${mnttestfn}`
137 crc32 ${loadaddr} \$filesize ${crcaddr}
/u-boot/test/py/tests/
A Dtest_sf.py126 crc_pattern = u_boot_utils.crc32(u_boot_console, addr, count)
133 crc_readback = u_boot_utils.crc32(u_boot_console, addr, count)
159 crc_pattern = u_boot_utils.crc32(u_boot_console, addr, count)
204 crc_ffs = u_boot_utils.crc32(u_boot_console, addr, count)
/u-boot/env/
A Dnvram.c103 if (crc32(0, data, ENV_SIZE) == crc) {
106 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
A Dcommon.c123 if (crc32(0, ep->data, ENV_SIZE) != crc) { in env_import()
171 crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) == in env_check_redund()
173 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == in env_check_redund()
244 env_out->crc = crc32(0, env_out->data, ENV_SIZE); in env_export()
A Dremote.c25 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_remote_init()
A Dflash.c84 crc1_ok = crc32(0, flash_addr->data, ENV_SIZE) == flash_addr->crc; in env_flash_init()
86 crc32(0, flash_addr_new->data, ENV_SIZE) == flash_addr_new->crc; in env_flash_init()
228 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_flash_init()
327 crc32(0, flash_addr_new->data, ENV_SIZE) == flash_addr_new->crc) { in env_flash_load()
/u-boot/drivers/mtd/ubispl/
A DMakefile1 obj-y += ubispl.o ../ubi/crc32.o
/u-boot/lib/efi_loader/
A Defi_var_file.c104 buf->crc32 = crc32(0, (u8 *)buf->var, in efi_var_collect()
157 buf->crc32 != crc32(0, (u8 *)buf->var, in efi_var_restore()
/u-boot/include/linux/
A Dcrc32.h14 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length) macro
/u-boot/drivers/mtd/ubi/
A DMakefile6 obj-y += attach.o build.o vtbl.o vmt.o upd.o kapi.o eba.o io.o wl.o crc32.o
/u-boot/tools/env/
A DMakefile26 crc32.o ctype.o linux_string.o \

Completed in 31 milliseconds

12345