Searched defs:checksum (Results 1 - 25 of 96) 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/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpcsec.c209 * For integrity service : print the checksum.
230 sprintf(line, "RPC RPCSEC_GSS C (checksum)");
233 char *checksum; local
238 checksum = getxdr_hex(checksum_len);
240 "checksum: len = %d", checksum_len);
241 sprintf(get_line(0, 0), "[%s]", checksum);
/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/uts/common/fs/zfs/
H A Dzio_checksum.c39 * In the SPA, everything is checksummed. We support checksum vectors
43 * For SPA metadata, we always want a very strong checksum.
45 * and checksum strength.
56 * Of course, we don't want a checksum upgrade to invalidate existing
57 * data, so we store the checksum *function* in eight bits of the bp.
58 * This gives us room for up to 256 different checksum functions.
60 * When writing a block, we always checksum it with the latest-and-greatest
61 * checksum function of the appropriate strength. When reading a block,
62 * we compare the expected checksum against the actual checksum, whic
230 zio_checksum_template_init(enum zio_checksum checksum, spa_t *spa) argument
253 zio_checksum_compute(zio_t *zio, enum zio_checksum checksum, void *data, uint64_t size) argument
296 zio_checksum_error_impl(spa_t *spa, blkptr_t *bp, enum zio_checksum checksum, void *data, uint64_t size, uint64_t offset, zio_bad_cksum_t *info) argument
380 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local
[all...]
/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/uts/common/io/i40e/core/
H A Di40e_nvm.c518 * reception) by caller. To commit SR to NVM update checksum function
543 * checksum function should be called.
566 * i40e_calc_nvm_checksum - Calculates and returns the checksum
568 * @checksum: pointer to the checksum
575 enum i40e_status_code i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument
608 /* Calculate SW checksum that covers the whole 64kB shadow RAM
642 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local;
650 * i40e_update_nvm_checksum - Updates the NVM checksum
660 u16 checksum; local
682 i40e_validate_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument
[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/uboot/lib/
H A Dglue.c49 uint32_t checksum; local
55 * Clear the checksum field (in the local copy) so as to calculate the
60 s.checksum = 0;
62 checksum = crc32((void *)&s, sizeof(struct api_signature));
64 if (checksum != sig->checksum)
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_resource.c59 static int checksum(unsigned char *cp, int len);
425 if (checksum((uchar_t *)fpp, fpp->fps_len * 16) != 0) {
426 dprintf("MP Floating Pointer Structure checksum error");
437 if (checksum((uchar_t *)ctp, base_len) != 0) {
438 dprintf("MP Configuration Table checksum error");
450 if (((checksum(extp, ext_len) + ctp->ct_ext_cksum) & 0xFF) != 0) {
451 dprintf("MP Extended Table checksum error");
586 checksum(unsigned char *cp, int len) function
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/libctsmc/
H A Dlibctsmc.c73 #define IPMI_REQ_HDR_LEN 0x8 /* includes command & data checksum */
89 uint8_t checksum; /* checksum for dest and netfn_lun */ member in struct:__anon1229
191 * checksum - returns a 2-complement check sum
194 checksum(uint8_t buf[], int start, int end) function
341 ipmi_header.checksum = checksum(data, 0, 1);
454 checksum(req_msg->data, 4, (IPMI_REQ_HDR_LEN-2)+dsize);
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h177 #define checksum checksum64 macro
201 #define checksum checksum32 macro
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dbucket.c634 static int checksum(const char *);
679 p->h_hash = checksum(version_name);
694 int hash = checksum(version_name);
720 * checksum -- from sum(1), algorithm 1.
723 checksum(const char *p) function
/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"));

Completed in 133 milliseconds

1234