Home
last modified time | relevance | path

Searched refs:chksum (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/archival/
Dchksum_and_xwrite_tar_header.c18 unsigned int chksum, size; in chksum_and_xwrite_tar_header() local
27 memset(hp->chksum, ' ', sizeof(hp->chksum)); in chksum_and_xwrite_tar_header()
29 chksum = 0; in chksum_and_xwrite_tar_header()
31 do { chksum += *cp++; } while (--size); in chksum_and_xwrite_tar_header()
32 sprintf(hp->chksum, "%06o", chksum); in chksum_and_xwrite_tar_header()
Dlzop.c461 chksum_t chksum; member
551 G.chksum.f_adler32 = ADLER32_INIT_VALUE; in init_chksum()
552 G.chksum.f_crc32 = CRC32_INIT_VALUE; in init_chksum()
560 G.chksum.f_adler32 = lzo_adler32(G.chksum.f_adler32, (const uint8_t*)buf, cnt); in add_bytes_to_chksum()
561 G.chksum.f_crc32 = lzo_crc32(G.chksum.f_crc32, (const uint8_t*)buf, cnt); in add_bytes_to_chksum()
566 return (h_flags32 & F_H_CRC32) ? G.chksum.f_crc32 : G.chksum.f_adler32; in chksum_getresult()
/busybox-1.35.0/util-linux/volume_id/
Dunused_nvidia_raid.c32 uint32_t chksum; member
/busybox-1.35.0/archival/libarchive/
Dget_header_tar.c263 sum_u = ' ' * sizeof(tar.chksum); in get_header_tar()
287 sum = GET_OCTAL(tar.chksum); in get_header_tar()
/busybox-1.35.0/include/
Dbb_archive.h151 char chksum[8]; /* 148-155 */ member
/busybox-1.35.0/miscutils/
Dhdparm.c785 uint8_t chksum = 0; in identify() local
883 ((((val[INTEGRITY] & SIG) == SIG_VAL) && !chksum) || in identify()
1270 printf("Checksum: %scorrect\n", chksum ? "in" : ""); in identify()