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

1234567

/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...]
H A Dcopy_athctr.c59 if (authfrom->checksum &&
60 (retval = krb5_copy_checksum(context, authfrom->checksum, &tempto->checksum))) {
70 krb5_free_checksum(context, tempto->checksum);
82 krb5_free_checksum(context, tempto->checksum);
/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/test/zfs-tests/tests/functional/checksum/
H A Drun_edonr_test.ksh29 log_must $STF_SUITE/tests/functional/checksum/edonr_test.$isa $freq
H A Drun_sha2_test.ksh29 log_must $STF_SUITE/tests/functional/checksum/sha2_test.$isa $freq
H A Drun_skein_test.ksh29 log_must $STF_SUITE/tests/functional/checksum/skein_test.$isa $freq
H A DMakefile21 TESTDIR = $(ROOTOPTPKG)/tests/functional/checksum
/illumos-gate/usr/src/cmd/format/
H A Dlabel.h38 int checksum(struct dk_label *, int);
/illumos-gate/usr/src/cmd/boot/common/
H A Dmboot_extra.h46 uint32_t checksum; member in struct:_bb_extra_header
H A Dmboot_extra.c43 /* mboot checksum routine. */
83 /* Found magic signature -- check checksum. */
85 if (mboot->checksum != cksum) {
86 BOOT_DEBUG("multiboot magic found at %p, but checksum "
88 mboot->checksum, cksum);
128 BOOT_DEBUG("Extended information header checksum is %x\n", cksum);
130 if (cksum != ext_header->checksum) {
186 ext_hdr->checksum = compute_checksum((char *)dest, ext_hdr->size);
/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
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dsetup.ksh40 # create datasets and set checksum options
58 log_must zfs set checksum=${cksumarray[$index]} \
61 log_must zfs set checksum=${cksumarray[$index]} \
/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...]
H A Drd_safe.c69 if (!krb5_c_valid_cksumtype(message->checksum->checksum_type)) {
73 if (!krb5_c_is_coll_proof_cksum(message->checksum->checksum_type) ||
74 !krb5_c_is_keyed_cksum(message->checksum->checksum_type)) {
105 /* verify the checksum */
108 * without checksum and then have the cryptographic subsystem verify
109 * the checksum for us. This is because some checksum methods have
110 * a confounder encrypted as part of the checksum.
112 his_cksum = message->checksum;
118 message->checksum
[all...]
/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/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_promoted_clone.ksh28 # 2. Disable compression and checksum on the clone, and promote it.
46 log_must zfs set checksum=sha256 $origin
52 log_must zfs set checksum=off $TESTPOOL/clone
H A Dnopwrite_volume.ksh47 log_must zfs set checksum=sha256 $origin
53 log_must zfs set checksum=sha256 $clone
/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/test/zfs-tests/tests/functional/
H A DMakefile25 checksum \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh59 recordsize mountpoint checksum compression canmount atime \
/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/uts/common/io/ixgbe/core/
H A Dixgbe_x540.c474 * ixgbe_calc_eeprom_checksum_X540 - Calculates and returns the checksum
481 * Returns a negative error code on error, or the 16-bit checksum
486 u16 checksum = 0; local
500 /* Include 0x0-0x3F in the checksum */
507 checksum += word;
542 checksum += word;
546 checksum = (u16)IXGBE_EEPROM_SUM - checksum;
548 return (s32)checksum;
552 * ixgbe_validate_eeprom_checksum_X540 - Validate EEPROM checksum
563 u16 checksum; local
625 u16 checksum; local
[all...]
/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...]

Completed in 135 milliseconds

1234567