HomeSort by relevance Sort by last modified time
    Searched refs:checksum (Results 1 - 25 of 121) sorted by null

1 2 3 4 5

  /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
ser_cksum.c 65 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->length
64 krb5_checksum *checksum; local
95 krb5_checksum *checksum; local
145 krb5_checksum *checksum; local
    [all...]
copy_athctr.c 59 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);
ser_auth.c 91 /* Calculate size required by checksum, if appropriate */
92 if (!kret && authenticator->checksum)
95 (krb5_pointer) authenticator->checksum,
173 /* Now handle checksum, if appropriate */
174 if (!kret && authenticator->checksum)
178 authenticator->checksum,
283 /* Attempt to read in the checksum */
288 &authenticator->checksum,
  /onnv/onnv-gate/usr/src/cmd/format/
label.h 37 int checksum(struct dk_label *label, int mode);
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
zio_checksum.c 32 * Checksum vectors.
34 * In the SPA, everything is checksummed. We support checksum vectors
38 * For SPA metadata, we always want a very strong checksum.
40 * and checksum strength.
51 * Of course, we don't want a checksum upgrade to invalidate existing
52 * data, so we store the checksum *function* in eight bits of the bp.
53 * This gives us room for up to 256 different checksum functions.
55 * When writing a block, we always checksum it with the latest-and-greatest
56 * checksum function of the appropriate strength. When reading a block,
57 * we compare the expected checksum against the actual checksum, which w
180 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local
    [all...]
  /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/
mb_header.h 33 * Checksum
37 unsigned checksum; member in struct:multiboot_header
smp-imps.h 109 unsigned char checksum; member in struct:imps_fps
124 unsigned char checksum; member in struct:imps_cth
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/
zio_checksum.h 37 * Signature for checksum functions.
42 * Information about each checksum function.
45 zio_checksum_t *ci_func[2]; /* checksum function for each byteorder */
64 * Checksum routines.
68 extern void zio_checksum_compute(zio_t *zio, enum zio_checksum checksum,
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
mk_req_ext.c 44 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 = NULL
    [all...]
send_tgs.c 60 krb5_checksum checksum; local
66 /* Generate checksum */
70 in_data, &checksum))) {
71 free(checksum.contents);
78 authent.checksum = &checksum;
83 free(checksum.contents);
89 free(checksum.contents);
93 free(checksum.contents);
215 /* encode the body; then checksum it *
    [all...]
rd_safe.c 69 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 = &our_cksum
    [all...]
  /onnv/onnv-gate/usr/src/grub/grub-0.97/docs/
multiboot.h 53 unsigned long checksum; member in struct:multiboot_header
multiboot.h.texi 53 unsigned long checksum;
  /onnv/onnv-gate/usr/src/uts/i86pc/os/
acpi_fw.h 45 uint8_t checksum; member in struct:rsdp_v1
63 uint8_t checksum; member in struct:table_header
  /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/
journal.c 148 cksum = HFS_32_TO_CPU(blhdr->checksum, is_le);
149 blhdr->checksum = 0;
154 _("Bad block list header checksum."));
157 blhdr->checksum = HFS_CPU_TO_32(cksum, is_le);
328 cksum = HFS_32_TO_CPU(jh->checksum, is_le);
329 jh->checksum = 0;
334 _("Bad journal checksum."));
337 jh->checksum = HFS_CPU_TO_32(cksum, is_le);
364 jh->checksum = 0; /* need to be 0 while calculating the cksum */
366 jh->checksum = HFS_CPU_TO_32(cksum, is_le)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
k5_arcfour.c 34 /* checksum + (confounder + inputlen, in even blocksize) */
86 krb5_data d1, d2, d3, salt, plaintext, checksum, ciphertext, confounder; local
111 * checksum field. 'd2' == 'd1' when not using the exportable
131 * k3 = HMAC(k1, checksum)
172 checksum.length=hashsize;
173 checksum.data=output->data;
222 * Compute the HMAC checksum field.
223 * checksum = HMAC(k1/k2, plaintext);
227 ret = krb5_hmac(context, kptr, &plaintext, &checksum);
229 ret = krb5_hmac(context, hash, kptr, 1, &plaintext, &checksum);
282 krb5_data d1,d2,d3,salt,ciphertext,plaintext,checksum; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libntfs/common/libntfs/
bootsect.c 67 * Check that checksum == sum of u32 values from b to the checksum
68 * field. If checksum is zero, no checking is done. We will work when
69 * the checksum test fails, since some utilities update the boot sector
70 * ignoring the checksum which leaves the checksum out-of-date. We
73 if ((void*)b < (void*)&b->checksum && b->checksum) {
75 u32 *bi = (u32 *)(&b->checksum);
77 ntfs_log_debug("Calculating bootsector checksum... ")
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/e1000g/
e1000_manage.c 35 * e1000_calculate_checksum - Calculate checksum for buffer
37 * @length: size of EEPROM to calculate a checksum for
39 * Calculates the checksum for some buffer on a specified length. The
40 * checksum calculated is returned.
165 hdr_csum = hdr->checksum;
166 hdr->checksum = 0;
210 hdr.checksum = 0;
219 sizeof (hdr), &(hdr.checksum));
241 * Writes the command header after does the checksum calculation.
251 /* Write the whole command header structure with new checksum. *
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/igb/
igb_manage.c 36 * e1000_calculate_checksum - Calculate checksum for buffer
38 * @length: size of EEPROM to calculate a checksum for
40 * Calculates the checksum for some buffer on a specified length. The
41 * checksum calculated is returned.
165 hdr_csum = hdr->checksum;
166 hdr->checksum = 0;
210 hdr.checksum = 0;
219 sizeof (hdr), &(hdr.checksum));
241 * Writes the command header after does the checksum calculation.
251 /* Write the whole command header structure with new checksum. *
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/
pp_pack.c 562 I32 checksum = 0;
606 checksum = len;
667 if (checksum)
696 if (checksum) {
792 if (checksum) {
797 if (checksum > bits_in_uv)
826 if (checksum) {
855 if (checksum) {
861 if (checksum > bits_in_uv)
888 if (checksum) {
    [all...]
  /onnv/onnv-gate/usr/src/cmd/fm/dicts/
ZFS.dict 45 fault.fs.zfs.vdev.checksum=15
  /onnv/onnv-gate/usr/src/grub/grub-0.97/util/
mbchk.c 89 /* Check for the checksum. */
90 if (mbh->magic + mbh->flags + mbh->checksum != 0)
93 "%s: Bad checksum (0x%lx).\n",
94 filename, mbh->checksum);
  /onnv/onnv-gate/usr/src/cmd/fm/scripts/
buildcode.pl 85 # map codelen to the number of checksum bits used in diagcode
127 print " 8 bits checksum\n";
143 print " 8 bits checksum\n";
159 print " 11 bits checksum\n";
172 print " 14 bits checksum\n";
176 # first run dictname through checksum
210 # the computed checksum down to the appropriate number of bits
211 print " Checksum: " . substr(sprintf("%014b", $csum),
328 Format 0: "dict-XXXX-XX", 21 data bits, 5 checksum bits
332 Format 1: "dict-XXXX-XXXX-XX", 38 data bits, 8 checksum bit
    [all...]
  /onnv/onnv-gate/usr/src/cmd/backup/lib/
byteorder.c 109 checksum(struct byteorder_ctx *ctx, int *b, int size) function
117 * We should only be called on to checksum u_spcl's, so make
139 return (i != CHECKSUM);
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
  /onnv/onnv-gate/usr/src/cmd/sgs/librtld/common/
dynamic.c 43 Xword entsize, Xword checksum)
174 * Recompute the images elf checksum.
177 dyn->d_un.d_val = checksum;

Completed in 1680 milliseconds

1 2 3 4 5