Searched refs:cksum (Results 1 - 25 of 65) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Didprom.c21 unsigned char cksum, i, *ptr = (unsigned char *)idprom; local
23 for (i = cksum = 0; i <= 0x0E; i++)
24 cksum ^= *ptr++;
26 return cksum;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/
H A Dgss_spkm3_unseal.c63 unsigned char *cksum; local
79 if ((ret = spkm3_verify_mic_token(&ptr, &mic_hdrlen, &cksum)))
82 if (*cksum++ != 0x03) {
86 md5elen = *cksum++;
87 cksum++; /* move past the zbit */
89 if (!decode_asn1_bitstring(&wire_cksum, cksum, md5elen - 1, 16))
H A Dgss_krb5_seqnum.c47 unsigned char *cksum, unsigned char *buf)
61 return krb5_encrypt(key, cksum, plain, buf, 8);
66 unsigned char *cksum,
75 if ((code = krb5_decrypt(key, cksum, buf, plain, 8)))
44 krb5_make_seq_num(struct crypto_blkcipher *key, int direction, s32 seqnum, unsigned char *cksum, unsigned char *buf) argument
65 krb5_get_seq_num(struct crypto_blkcipher *key, unsigned char *cksum, unsigned char *buf, int *direction, s32 * seqnum) argument
H A Dgss_spkm3_seal.c142 unsigned int body_offset, struct xdr_netobj *cksum)
164 cksum->len = crypto_hash_digestsize(desc.tfm);
180 crypto_hash_final(&desc, cksum->data);
140 make_spkm3_checksum(s32 cksumtype, struct xdr_netobj *key, char *header, unsigned int hdrlen, struct xdr_buf *body, unsigned int body_offset, struct xdr_netobj *cksum) argument
H A Dgss_spkm3_token.c105 * tokenlen = pos[0] to end of token (max pos[45] with MD5 cksum)
136 * int-cksum - encoded length not constant, calculated
141 * [??] int-cksum (NID_md5 = 16)
203 spkm3_verify_mic_token(unsigned char **tokp, int *mic_hdrlen, unsigned char **cksum) argument
260 *cksum = (&ptr[10] + ctxelen); /* ctxelen includes ptr[10] */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/docs_src/ref/upgrade.4.2/
H A DMakefile3 BUILD= cksum.html client.html del.html disk.html intro.html java.html \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Didprom.c72 unsigned char cksum, i, *ptr = (unsigned char *)idprom; local
74 for (i = cksum = 0; i <= 0x0E; i++)
75 cksum ^= *ptr++;
77 return cksum;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/sun3/
H A Didprom.c95 unsigned char cksum, i, *ptr = (unsigned char *)idprom; local
97 for (i = cksum = 0; i <= 0x0E; i++)
98 cksum ^= *ptr++;
100 return cksum;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/simple/
H A Dmisc-mv64x60.c17 int num_words, unsigned long cksum);
77 load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, argument
84 return decompress_kernel(load_addr, num_words, cksum);
H A Dopenbios.c40 unsigned long cksum);
67 load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, argument
125 decompress_kernel(load_addr, num_words, cksum);
H A Dmisc-prep.c33 int num_words, unsigned long cksum);
76 load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, argument
144 decompress_kernel(load_addr, num_words, cksum);
H A Dmisc.c92 decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum) argument
271 load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, argument
275 return decompress_kernel(load_addr, num_words, cksum);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/utils/
H A Dmktree.c45 uint cksum, *cp; local
93 cksum = 0;
96 cksum += *cp++;
132 cksum += *cp++;
141 bt.bb_checksum = htonl(cksum);
H A Dmkprep.c204 unsigned int cksum = 0, val; local
222 cksum ^= val;
236 fprintf(stderr, "cksum = %x\n", cksum);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dmktree.c45 uint cksum, *cp; local
91 cksum = 0;
94 cksum += *cp++;
130 cksum += *cp++;
139 bt.bb_checksum = htonl(cksum);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/sys/netatalk/
H A Dddp_output.c105 u_int32_t cksum = 0; local
114 cksum = ( cksum + *data ) << 1;
115 if ( cksum & 0x00010000 ) {
116 cksum++;
118 cksum &= 0x0000ffff;
122 if ( cksum == 0 ) {
123 cksum = 0x0000ffff;
125 return( (u_short)cksum );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/sys/netatalk/
H A Dddp_output.c105 u_int32_t cksum = 0; local
114 cksum = ( cksum + *data ) << 1;
115 if ( cksum & 0x00010000 ) {
116 cksum++;
118 cksum &= 0x0000ffff;
122 if ( cksum == 0 ) {
123 cksum = 0x0000ffff;
125 return( (u_short)cksum );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dgss_spkm3.h45 unsigned int body_offset, struct xdr_netobj *cksum);
55 unsigned char **cksum);
H A Dgss_krb5.h116 int body_offset, struct xdr_netobj *cksum);
152 s32 seqnum, unsigned char *cksum, unsigned char *buf);
156 unsigned char *cksum,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/miscutils/
H A Drx.c87 int cksum = 0; local
149 cksum = read_byte(ttyfd, TIMEOUT);
150 if (cksum < 0)
194 if (cksum != expectedCksum) {
195 note_error("checksum error, expected 0x%02x, got 0x%02x", expectedCksum, cksum);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfs4recover.c89 struct xdr_netobj cksum; local
100 cksum.len = crypto_hash_digestsize(desc.tfm);
101 cksum.data = kmalloc(cksum.len, GFP_KERNEL);
102 if (cksum.data == NULL)
109 if (crypto_hash_digest(&desc, sg, sg->length, cksum.data))
112 md5_to_hex(dname, cksum.data);
114 kfree(cksum.data);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/volume_id/lib/
H A Dfat.c117 uint8_t cksum; member in struct:vfat_lfn_entry
125 uint8_t cksum = 0; local
130 cksum = ((cksum & 1) ? 0x80 : 0) + (cksum >> 1) + name[i];
132 return cksum;
141 uint8_t cksum; local
145 cksum = fat_lfn_checksum(entry->name);
156 if (lfn->cksum != cksum)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Dgarmin_gps.c378 __u8 cksum = 0; local
386 cksum += ACK;
389 cksum += 2;
392 cksum += pkt_id;
399 *ptr++ = 0xFF & (-cksum);
414 * the complete packet (pkzid ... cksum) is in garmin_data_p->inbuf starting
419 * (including pkt-id, data-length a. cksum)
426 int cksum = 0; local
440 cksum += *recpkt++;
441 cksum
633 int cksum = 0; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/des/
H A Ddes.c123 DES_cblock cksum={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; variable
498 DES_cbc_cksum(buf,&cksum,
499 (long)len,&ks,&cksum);
635 (DES_cblock *)cksum,(long)l/8*8,&ks,
636 (DES_cblock *)cksum);
664 fprintf(CKSUM_OUT,"%02X",cksum[i]);
680 OPENSSL_cleanse(cksum,sizeof(cksum));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/des/
H A Ddes.c123 DES_cblock cksum={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; variable
498 DES_cbc_cksum(buf,&cksum,
499 (long)len,&ks,&cksum);
635 (DES_cblock *)cksum,(long)l/8*8,&ks,
636 (DES_cblock *)cksum);
664 fprintf(CKSUM_OUT,"%02X",cksum[i]);
680 OPENSSL_cleanse(cksum,sizeof(cksum));

Completed in 206 milliseconds

123