Searched refs:checksum (Results 1 - 22 of 22) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/lib/
H A DMakefile32 lib-y := checksum.o delay.o mem_ubicom32.o
H A Dchecksum.c2 * arch/ubicom32/lib/checksum.c
3 * Optimized checksum utilities for IP.
62 #include <net/checksum.h>
187 * which always checksum on 4 octet boundaries.
195 * computes the checksum of a memory block at buff, length len,
/netgear-R7800-V1.0.2.28/tools/firmware-utils/src/
H A Dlzma2eva.c63 uint32_t checksum = 0; local
157 /* calculate record checksum */
158 checksum += reclength;
159 checksum += loadaddress;
160 checksum_add32(checksum, type);
161 checksum_add32(checksum, compsize);
162 checksum_add32(checksum, datasize32);
163 checksum_add32(checksum, datacrc32);
169 checksum += buf[i];
176 checksum
[all...]
H A Dmkdapimg.c22 // The "-x" (fix) option will recalculate the payload size and checksum
32 uint32_t checksum; member in struct:img_hdr_struct
150 imghdr.checksum = htonl(cksum);
155 if (ntohl(imghdr.checksum) != cksum) {
156 fprintf(stderr, "%s: patch mode, checksum mismatch\n",
160 imghdr.checksum = htonl(cksum);
H A Dseama.c190 uint8_t checksum[16]; local
219 /* The checksum exist only if size is greater than zero. */
222 if (fread(checksum, sizeof(checksum), 1, fh) != 1)
223 ERRBREAK("Error reading checksum !\n");
244 /* verify checksum */
249 printf(" checksum : ");
250 for (i=0; i<16; i++) printf("%02X", checksum[i]);
254 /* Calculate the checksum */
263 if (memcmp(checksum, diges
295 write_checksum(FILE * fh, uint8_t * checksum) argument
[all...]
H A Dmakeamitbin.c108 0e..0f checksum of payload
121 4e..4f inverted checksum of header
124 unsigned short checksum(unsigned char *data, long size) function
182 COPY_SHORT(hdr, 0x0e, checksum(data, size));
183 COPY_SHORT(hdr, 0x4e, ~checksum(hdr, HDRSIZE));
H A Dmkchkimg.c103 uint32_t b, checksum; local
109 checksum = ((c->c1 << 16) | c->c0);
110 return checksum;
259 /* Copy the trx file, calculating the checksum as we go */
280 /* Now copy the root fs, calculating the checksum as we go */
302 /* Calcautate the image checksum */
307 /* Calculate the header checksum */
H A Dmkcameofw.c38 uint32_t checksum; member in struct:img_header
317 hdr->checksum = htonl(csum);
H A Dsrec2bin.c213 // If not, close out last record, update Length, write checksum
292 int checksum(char *cp,int count) function
378 if (!checksum(pSrecLine, count)) return(SRLerrorout("Bad Checksum",scp));
/netgear-R7800-V1.0.2.28/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/common/
H A Dmv802_3.h155 MV_U16 checksum; member in struct:__anon509
185 MV_U16 checksum; member in struct:__anon511
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/kernel/
H A Dubicom32_ksyms.c44 #include <asm/checksum.h>
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/mach-ip7k/
H A Dboard-ip7500media.c576 unsigned char checksum; local
628 * Verify the checksum
630 checksum = 0xff;
632 checksum ^= data[i];
634 if (checksum != data[255]) {
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/ipq806x/
H A Ddni_enet.c26 #include <net/checksum.h>
/netgear-R7800-V1.0.2.28/target/linux/amazon/files/include/asm-mips/amazon/
H A Damazon_mei.h168 // Image header contains size of image, checksum for image, and count of
174 u32 checksum; // Checksum for image member in struct:_arc_img_hdr
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/drivers/net/ethernet/
H A Dsvip_eth.c32 #include <asm/checksum.h>
H A Dlantiq_vrx200.c41 #include <asm/checksum.h>
717 * Enable padding of short frames, enable frame checksum generation
745 * Enable padding of short frames, enable frame checksum generation
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/drivers/net/
H A Dubi32-eth.c51 #include <asm/checksum.h>
/netgear-R7800-V1.0.2.28/target/linux/amazon/files/drivers/net/ethernet/
H A Damazon_sw.c87 #include <asm/checksum.h>
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/net/ipv4/
H A Dsvip_nat.c45 #include <asm/checksum.h>
959 Used to recalculate IP/UDP checksum using the original IP/UDP checksum
961 are accounted for, and, the checksum is updated using the new source and
966 csum_old - original checksum
973 recalculated IP/UDP checksum
1260 later on to perform efficient checksum recalculation */
/netgear-R7800-V1.0.2.28/tools/wrt350nv2-builder/src/
H A Dwrt350nv2-builder.c55 At the end of "u-boot" 128 bytes are abused for some data, a checksum and a
72 v2.2 - fixed checksum byte calculation for other versions than 0x2019
141 //unsigned char checksum[] = { 0xE9 }; // (1) is calculated, does it belong to node?
183 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0, 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xF0, // md5 checksum
399 unsigned char checksum; local
526 lprintf(DEBUG, "adding checksum byte\n");
531 lprintf(DEBUG_LVL2, " checksum 0x%016lX (%li)\n", csum, csum);
629 // clear md5 checksum
632 // prepare md5 checksum calculation
685 // append salt to md5 checksum
[all...]
/netgear-R7800-V1.0.2.28/docs/
H A Dadding.tex338 \item CRC32 checksum on either the whole file or just part of it
H A Dbuild.tex263 A checksum to validate the download

Completed in 381 milliseconds