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

12345678

/freebsd-9.3-release/usr.sbin/cpucontrol/
H A Dintel.h44 uint32_t checksum; /* Sum of all DWORDS should member in struct:intel_fw_header
58 uint32_t checksum; member in struct:intel_cpu_signature
63 uint32_t checksum; member in struct:intel_ext_header
H A Dvia.h44 uint32_t checksum; /* Sum of all DWORDS should member in struct:via_fw_header
57 uint32_t checksum; member in struct:via_cpu_signature
H A Damd.h40 uint32_t checksum; /* ucode checksum. */ member in struct:amd_fw_header
/freebsd-9.3-release/lib/libelf/
H A Dlibelf_checksum.c52 unsigned long checksum; local
71 * checksum along the way.
78 checksum = 0;
91 checksum = _libelf_sum(checksum,
96 * Return a 16-bit checksum compatible with Solaris.
98 return (((checksum >> 16) & 0xFFFFUL) + (checksum & 0xFFFFUL));
/freebsd-9.3-release/lib/libmd/
H A Dmd2c.c95 ((POINTER)context->checksum, 0, sizeof (context->checksum));
121 MD2Transform (context->state, context->checksum, context->buffer);
124 MD2Transform (context->state, context->checksum, &input[i]);
150 /* Extend with checksum */
151 MD2Update (context, context->checksum, 16);
172 /* MD2 basic transformation. Transforms state and updates checksum
175 static void MD2Transform (state, checksum, block)
177 unsigned char checksum[16];
202 /* Update checksum
[all...]
H A Dmd2.h28 unsigned char checksum[16]; /* checksum */ member in struct:MD2Context
/freebsd-9.3-release/gnu/usr.bin/cc/cc1/
H A DMakefile16 OBJS+= ${PROG}-checksum.o
25 ${PROG}-checksum.c: ${PROG}-dummy
27 CLEANFILES+= ${PROG}-checksum.c
/freebsd-9.3-release/sys/xen/interface/hvm/
H A Dhvm_info_table.h35 uint8_t checksum; member in struct:hvm_info_table
/freebsd-9.3-release/usr.sbin/bsdinstall/scripts/
H A DMakefile3 SCRIPTS= auto adduser checksum config docsinstall entropy hostname jail \
H A Dchecksum45 awk -v checksum=$CK -v dist=$dist -v found=0 '{
48 if (checksum == $2)
66 --msgbox "The checksum for $dist does not match. It may have become corrupted, and should be redownloaded." 0 0
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddsrec.c43 the starting `S' to the last char of the checksum. FLAGS is
180 * start ---+ | | data +- checksum
188 * S<type><length><address><data><checksum>
192 * is the number of bytes following upto the checksum. Note that
210 * - checksum
222 unsigned char checksum; local
277 /* Note that the checksum is calculated on the raw data, not the
281 checksum = 0;
283 checksum += (payload_size + addr_size + 1 /* Packet length */
302 checksum
[all...]
H A Di386-stub.c74 * checksum. A packet consists of
76 * $<packet info>#<checksum>.
80 * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
112 /* debug > 0 prints ill-formed commands in valid packets & checksum errors */
454 /* scan for the sequence $<data>#<checksum> */
460 unsigned char checksum; local
472 checksum = 0;
484 checksum = checksum + ch;
497 if (checksum !
531 unsigned char checksum; local
[all...]
H A Dsparc-stub.c66 * checksum. A packet consists of
68 * $<packet info>#<checksum>.
72 * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
286 /* scan for the sequence $<data>#<checksum> */
292 unsigned char checksum; local
304 checksum = 0;
316 checksum = checksum + ch;
329 if (checksum != xmitcsum)
331 putDebugChar ('-'); /* failed checksum */
357 unsigned char checksum; local
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dsctp_crc32.c83 * of SCTP_BUF_NEXT()'s and calculate the SCTP checksum. This also
86 * length, checksum=1, pktlen=0 is returned (ie. no real error code)
128 uint32_t checksum;
130 checksum = sctp_calculate_cksum(m, offset);
133 offset += offsetof(struct sctphdr, checksum);
140 * behavior may be to insert the checksum in the appropriate
145 *(uint32_t *) (m->m_data + offset) = checksum;
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzio_checksum.c37 * In the SPA, everything is checksummed. We support checksum vectors
41 * For SPA metadata, we always want a very strong checksum.
43 * and checksum strength.
54 * Of course, we don't want a checksum upgrade to invalidate existing
55 * data, so we store the checksum *function* in eight bits of the bp.
56 * This gives us room for up to 256 different checksum functions.
58 * When writing a block, we always checksum it with the latest-and-greatest
59 * checksum function of the appropriate strength. When reading a block,
60 * we compare the expected checksum against the actual checksum, whic
154 zio_checksum_compute(zio_t *zio, enum zio_checksum checksum, void *data, uint64_t size) argument
195 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/45/
H A Dmk_req.c45 uint32_t checksum)
54 krb5_store_int32(sp, checksum);
69 int32_t checksum)
74 int32_t checksum)
106 build_request(&req, cr.pname, cr.pinst, myrealm, checksum);
43 build_request(KTEXT req, const char *name, const char *inst, const char *realm, uint32_t checksum) argument
67 krb_mk_req(KTEXT authent, const char *service, const char *instance, const char *realm, int32_t checksum) argument
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-debug-uart.c143 unsigned char checksum; local
158 checksum = 0;
169 checksum = checksum + ch;
187 return checksum == xmitcsum;
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/krb5/
H A D8003.c109 * create a checksum over the chanel bindings in
125 * see rfc1964 (section 1.1.1 (Initial Token), and the checksum value
129 result->checksum.length = 24 + 4 + fwd_data->length;
131 result->checksum.length = 24;
132 result->checksum.data = malloc (result->checksum.length);
133 if (result->checksum.data == NULL) {
138 p = result->checksum.data;
165 * verify the checksum in `cksum' over `input_chan_bindings'
189 if(cksum->cksumtype != CKSUMTYPE_GSSAPI || cksum->checksum
[all...]
/freebsd-9.3-release/sbin/dhclient/
H A Dpacket.c55 u_int32_t checksum(unsigned char *, unsigned, u_int32_t);
64 checksum(unsigned char *buf, unsigned nbytes, u_int32_t sum) function
76 * If there's a single byte left over, checksum it, too.
137 ip.ip_sum = wrapsum(checksum((unsigned char *)&ip, sizeof(ip), 0));
143 * byte order. In both cases, the checksum has to be correct, so this
157 udp.uh_sum = wrapsum(checksum((unsigned char *)&udp, sizeof(udp),
158 checksum(data, len, checksum((unsigned char *)&ip.ip_src,
199 /* Check the IP header checksum - it should be zero. */
201 if (wrapsum(checksum(bu
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzio_checksum.h35 * Signature for checksum functions.
40 * Information about each checksum function.
43 zio_checksum_t *ci_func[2]; /* checksum function for each byteorder */
45 int ci_eck; /* uses zio embedded checksum? */
66 extern void zio_checksum_compute(zio_t *zio, enum zio_checksum checksum,
/freebsd-9.3-release/sys/dev/ixgb/
H A Dixgb_ee.c323 * Verifies that the EEPROM has a valid checksum
328 * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is
338 uint16_t checksum = 0; local
342 checksum += ixgb_read_eeprom(hw, i);
344 if(checksum == (uint16_t) EEPROM_SUM)
351 * Calculates the EEPROM checksum and writes it to the EEPROM
361 uint16_t checksum = 0; local
365 checksum += ixgb_read_eeprom(hw, i);
367 checksum = (uint16_t) EEPROM_SUM - checksum;
474 uint16_t checksum = 0; local
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dkrb4.c155 cs = auth_dat.checksum + 1;
212 char *service, char *host, int checksum)
221 ret = krb_mk_req(adat, sname, inst, realm, checksum);
242 int checksum; local
248 checksum = getpid();
249 ret = mk_auth(d, &adat, "ftp", host, checksum);
251 ret = mk_auth(d, &adat, "rcmd", host, checksum);
321 if(cs - checksum != 1){
322 printf("Bad checksum returned from server.\n");
211 mk_auth(struct krb4_data *d, KTEXT adat, char *service, char *host, int checksum) argument
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dkrb4.c155 cs = auth_dat.checksum + 1;
212 char *service, char *host, int checksum)
221 ret = krb_mk_req(adat, sname, inst, realm, checksum);
242 int checksum; local
248 checksum = getpid();
249 ret = mk_auth(d, &adat, "ftp", host, checksum);
251 ret = mk_auth(d, &adat, "rcmd", host, checksum);
321 if(cs - checksum != 1){
322 printf("Bad checksum returned from server.\n");
211 mk_auth(struct krb4_data *d, KTEXT adat, char *service, char *host, int checksum) argument
/freebsd-9.3-release/sys/boot/i386/common/
H A Dedd.h76 uint8_t checksum; member in struct:edd_device_path_v3
93 uint8_t checksum; member in struct:edd_device_path_v4
/freebsd-9.3-release/sys/dev/aic7xxx/
H A Daic7xxx_93cx6.c311 uint32_t checksum; local
315 checksum = 0;
319 checksum = checksum + scarray[i];
320 if (checksum == 0
321 || (checksum & 0xFFFF) != sc->checksum) {

Completed in 162 milliseconds

12345678