Searched defs:checksum (Results 1 - 25 of 97) sorted by relevance

1234

/illumos-gate/usr/src/cmd/boot/common/
H A Dmboot_extra.h46 uint32_t checksum; member in struct:_bb_extra_header
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_cksum.c65 krb5_checksum *checksum;
73 * checksum->length for contents
77 checksum = (krb5_checksum *) arg;
78 if (checksum) {
83 (size_t) checksum->length);
97 krb5_checksum *checksum;
107 checksum = (krb5_checksum *) arg;
108 if (checksum) {
116 (void) krb5_ser_pack_int32((krb5_int32) checksum->checksum_type,
120 (void) krb5_ser_pack_int32((krb5_int32) checksum
64 krb5_checksum *checksum; local
95 krb5_checksum *checksum; local
145 krb5_checksum *checksum; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dmk_req_ext.c44 outbuf, ap_req_options, checksum, and ccache are used in the
61 checksum specifies the checksum to be used in the authenticator.
135 krb5_checksum checksum; local
206 checksum.checksum_type = 0x8003;
207 checksum.length = in_data->length;
208 checksum.contents = (krb5_octet *) in_data->data;
214 in_data, &checksum)))
217 checksump = &checksum;
244 (*auth_context)->authentp->checksum
[all...]
H A Dsend_tgs.c59 krb5_checksum checksum; local
65 /* Generate checksum */
69 in_data, &checksum))) {
70 free(checksum.contents);
77 authent.checksum = &checksum;
82 free(checksum.contents);
88 free(checksum.contents);
92 free(checksum.contents);
247 /* encode the body; then checksum i
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmb_header.h37 unsigned checksum; member in struct:multiboot_header
H A Dsmp-imps.h109 unsigned char checksum; member in struct:imps_fps
124 unsigned char checksum; member in struct:imps_cth
H A Dbios.c272 unsigned char checksum;
270 unsigned char checksum; member in struct:drive_parameters
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddynamic.c41 Xword entsize, Xword checksum)
173 * Recompute the images elf checksum.
176 dyn->d_un.d_val = checksum;
39 update_dynamic(Cache *cache, Cache *_cache, Rt_map *lmp, int flags, Addr addr, Off off, const char *file, Xword null, Xword data, Xword func, Xword entsize, Xword checksum) argument
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c32 /* checksum + (confounder + inputlen, in even blocksize) */
84 krb5_data d1, d2, d3, salt, plaintext, checksum, ciphertext, confounder; local
109 * checksum field. 'd2' == 'd1' when not using the exportable
129 * k3 = HMAC(k1, checksum)
170 checksum.length=hashsize;
171 checksum.data=output->data;
220 * Compute the HMAC checksum field.
221 * checksum = HMAC(k1/k2, plaintext);
225 ret = krb5_hmac(context, kptr, &plaintext, &checksum);
227 ret = krb5_hmac(context, hash, kptr, 1, &plaintext, &checksum);
280 krb5_data d1,d2,d3,salt,ciphertext,plaintext,checksum; local
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_bootcfg.c39 * checksum.
55 uint8_t checksum = 0;
58 checksum += data[pos];
59 return (checksum);
73 /* Start parsing tags immediatly after the checksum */
180 EFSYS_ASSERT(used_bytes >= 2); /* checksum and DHCP_END */
217 * The checksum includes trailing data after any DHCP_END character,
248 uint8_t checksum; local
267 EFSYS_ASSERT(used_bytes >= 2); /* checksum and DHCP_END */
294 * all data following the DHCP_END, and adjust the checksum
[all...]
/illumos-gate/usr/src/cmd/backup/lib/
H A Dbyteorder.c109 checksum(struct byteorder_ctx *ctx, int *b, int size) function
117 * We should only be called on to checksum u_spcl's, so make
144 * swapping if necessary, and checks the checksum. it does NOT convert
150 * cs is a pointer to the thing we want to checksum. if we're
153 * css is the size of the thing we want to checksum.
170 if (checksum(ctx, cs, css))
175 * successful checksum() means that *sp is at least as
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpcsec.c210 * For integrity service : print the checksum.
231 sprintf(line, "RPC RPCSEC_GSS C (checksum)");
234 char *checksum; local
239 checksum = getxdr_hex(checksum_len);
241 "checksum: len = %d", checksum_len);
242 sprintf(get_line(0, 0), "[%s]", checksum);
/illumos-gate/usr/src/cmd/etdump/
H A Detdump.c109 int16_t checksum, sum; local
115 checksum = isonum_721(ve->checksum);
116 cd9660_721(0, ve->checksum);
123 if (sum + checksum != 0) {
127 cd9660_721(checksum, ve->checksum);
191 warnx("%s: boot catalog checksum is invalid", filename);
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dmultiboot.h53 unsigned long checksum; member in struct:multiboot_header
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Discsi_info.h52 u8_t checksum; member in struct:_iscsi_info_block_hdr_t
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_i210.c275 * contain an invalid checksum.
319 * Shadow Ram will most likely contain an invalid checksum.
492 * e1000_validate_nvm_checksum_i210 - Validate EEPROM checksum
495 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM
530 * e1000_update_nvm_checksum_i210 - Update EEPROM checksum
533 * Updates the EEPROM checksum by reading/adding each word of the EEPROM
534 * up to the checksum. Then calculates the EEPROM checksum and writes the
540 u16 checksum = 0; local
567 DEBUGOUT("NVM Read Error while updating checksum
[all...]
/illumos-gate/usr/src/boot/sys/amd64/include/pc/
H A Dbios.h73 uint8_t checksum; member in struct:smbios_eps
/illumos-gate/usr/src/boot/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
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dgfx_fb.h93 uint8_t checksum; member in struct:vesa_edid_info
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c40 * In the SPA, everything is checksummed. We support checksum vectors
44 * For SPA metadata, we always want a very strong checksum.
46 * and checksum strength.
57 * Of course, we don't want a checksum upgrade to invalidate existing
58 * data, so we store the checksum *function* in eight bits of the bp.
59 * This gives us room for up to 256 different checksum functions.
61 * When writing a block, we always checksum it with the latest-and-greatest
62 * checksum function of the appropriate strength. When reading a block,
63 * we compare the expected checksum against the actual checksum, whic
271 zio_checksum_template_init(enum zio_checksum checksum, spa_t *spa) argument
313 zio_checksum_compute(zio_t *zio, enum zio_checksum checksum, abd_t *abd, uint64_t size) argument
387 zio_checksum_error_impl(spa_t *spa, const blkptr_t *bp, enum zio_checksum checksum, abd_t *abd, uint64_t size, uint64_t offset, zio_bad_cksum_t *info) argument
512 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpxe.c150 uint8_t checksum; local
171 * do byte checksum:
174 checksum = 0;
177 checksum += *checkptr++;
178 if (checksum != 0) {
179 printf("PXENV+ structure failed checksum, ignoring\n");
186 * the checksum fails.
195 checksum = 0;
199 checksum += *checkptr++;
201 if (checksum !
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c82 * Check the checksum.
84 if (checksum(label, CK_CHECKSUM) != 0)
90 * This routine checks or calculates the label checksum, depending on
94 checksum(struct dk_label *label, int mode) function
100 * If we are generating a checksum, don't include the checksum
113 * If we are checking the checksum, the total will be zero for
114 * a correct checksum, so we can just return the sum.
119 * If we are generating the checksum, fill it in.
352 * Generate the correct checksum
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c440 checksum(int32_t *sp, int32_t *lp, int nb) function
481 if (!checksum(&ebp->chksum, (int32_t *)ebp, fsp->fs_bsize))
482 (void) fprintf(fout, gettext("Invalid log checksum\n"));
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h105 unsigned char checksum; /* offset 73 */ member in struct:int13_fn48_result
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h177 #define checksum checksum64 macro
201 #define checksum checksum32 macro

Completed in 369 milliseconds

1234