Searched refs:crc32 (Results 1 - 25 of 96) sorted by relevance

1234

/u-boot/drivers/mtd/ubispl/
H A DMakefile1 obj-y += ubispl.o ../ubi/crc32.o
/u-boot/lib/efi_selftest/
H A Defi_selftest_crc32.c17 u32 *crc32);
22 u32 crc32, res; local
43 crc32 = hdr->crc32;
45 * Setting the crc32 of the 'const' table to zero is easier than
48 hdr->crc32 = 0;
50 /* Reset table crc32 so it stays constant */
51 hdr->crc32 = crc32;
56 if (res != crc32) {
137 EFI_UNIT_TEST(crc32) = { variable
[all...]
H A Defi_selftest_mem.c41 u32 crc32; local
44 ret = boottime->calculate_crc32(c1, 16, &crc32);
49 if (crc32 != 0x943ac093) {
H A Defi_selftest_config_table.c42 u32 crc32, res; local
46 crc32 = hdr->crc32;
51 hdr->crc32 = 0;
54 hdr->crc32 = crc32;
59 if (res != crc32) {
/u-boot/include/linux/
H A Dcrc32.h2 * crc32.h
3 * See linux/lib/crc32.c for license and changes
14 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)data, length) macro
/u-boot/drivers/mtd/ubi/
H 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/include/
H A Dfwu_mdata.h46 * @crc32: crc32 value for the FWU metadata
60 uint32_t crc32; member in struct:fwu_mdata
H A Dubi_uboot.h22 #include <linux/crc32.h>
/u-boot/tools/
H A Dsfspl.c43 /** @crc32: CRC32 */
44 unsigned int crc32; member in struct:spl_hdr
64 unsigned int crc = le32_to_cpu(hdr->crc32);
77 crc_check = crc32(0, &buf[hdr_size], size - hdr_size);
141 crc = crc32(0, &((unsigned char *)buf)[sizeof(struct spl_hdr)],
149 hdr->crc32 = cpu_to_le32(crc);
H A Ddefault_image.c82 if (crc32(0, data, len) != checksum) {
102 if (crc32(0, data, len) != checksum) {
121 checksum = crc32(0,
162 checksum = crc32(0, (const unsigned char *)hdr,
H A Denvcrc.c58 extern uint32_t crc32(uint32_t, const unsigned char *, unsigned int);
88 crc = crc32(0, dataptr, datasize);
H A Drenesas_spkgimage.c156 crc = crc32(0, ptr, SPKG_HEADER_SIZE - SPKG_CRC_SIZE);
173 crc = crc32(0, file->payload, payload_length - SPKG_CRC_SIZE);
264 header.crc = crc32(0, (uint8_t *)&header,
309 crc = crc32(0, payload, crc_buf - payload);
/u-boot/common/
H A Diotrace.c27 * @crc32: Current value of CRC chceksum of trace records
37 u32 crc32; member in struct:iotrace
76 iotrace.crc32 = crc32(iotrace.crc32, (unsigned char *)rec,
133 iotrace.crc32 = 0;
138 return iotrace.crc32;
174 iotrace.crc32 = 0;
/u-boot/test/py/tests/
H A Dtest_sf.py42 'crc32': 0xCAFECAFE,
99 'crc32' in env__sf_config), \
100 'Cannot check crc32 on writeable sections'
122 crc_expected = env__sf_config.get('crc32', None)
126 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/tools/env/
H A DMakefile26 crc32.o ctype.o linux_string.o \
/u-boot/include/u-boot/
H A Dcrc.h45 /* lib/crc32.c */
48 * crc32 - Calculate the CRC32 for a block of data
56 uint32_t crc32(uint32_t crc, const unsigned char *buf, uint len);
/u-boot/board/amlogic/jethub-j100/
H A Djethub-j100.c25 sid = crc32(0, (unsigned char *)serial, SM_SERIAL_SIZE);
/u-boot/env/
H A Dremote.c25 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
H A Dnvram.c55 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
H A Deeprom.c59 crc_tmp = crc32(crc_tmp, rdbuf, n);
110 new = crc32(new, rdbuf, n);
/u-boot/test/fs/
H A Dfat-noncontig-test.sh41 # => crc32 1000 $filesize 0
42 # crc32 for 00001000 ... 02008743 ==> 6a080523
64 for prereq in fallocate mkfs.fat dd crc32; do
121 crc=0x`crc32 ${mnttestfn}`
137 crc32 ${loadaddr} \$filesize ${crcaddr}
/u-boot/lib/efi_loader/
H A Defi_var_mem.c149 efi_var_buf->crc32 = crc32(0, (u8 *)efi_var_buf->var,
187 efi_var_buf->crc32 = crc32(0, (u8 *)efi_var_buf->var,
295 hdr.crc32 = crc32(0, (u8 *)buf->var,
H A Defi_var_file.c100 buf->crc32 != crc32(0, (u8 *)buf->var,
/u-boot/tools/binman/etype/
H A Du_boot_env.py39 crc = zlib.crc32(data)
/u-boot/cmd/
H A Dfwu_mdata.c23 printf("crc32: %#x\n", mdata->crc32);

Completed in 108 milliseconds

1234