HomeSort by: relevance | last modified time | path
    Searched refs:checksum (Results 1 - 25 of 391) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
zio_checksum.c 37 * Checksum vectors.
39 * 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, which w
388 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/vboxvideo/
vbox_hgsmi.c 37 /* Not really a checksum but that is the naming used in all vbox code */
42 u32 checksum; local
44 checksum = hgsmi_hash_process(0, (u8 *)&offset, sizeof(offset));
45 checksum = hgsmi_hash_process(checksum, (u8 *)header, sizeof(*header));
46 /* 4 -> Do not checksum the checksum itself */
47 checksum = hgsmi_hash_process(checksum, (u8 *)tail, 4);
49 return hgsmi_hash_end(checksum);
    [all...]
hgsmi_defs.h 66 u32 checksum; member in struct:hgsmi_buffer_tail
  /src/external/bsd/elftoolchain/dist/libelf/
libelf_checksum.c 57 unsigned long checksum; local
76 * checksum along the way.
83 checksum = 0;
96 checksum = _libelf_sum(checksum,
101 * Return a 16-bit checksum compatible with Solaris.
103 return (long) (((checksum >> 16) & 0xFFFFUL) + (checksum & 0xFFFFUL));
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
crypto-arcfour.c 57 * checksum according to section 5. of draft-brezak-win2k-krb-rc4-hmac-03.txt
66 Checksum *result)
71 Checksum ksign_c;
82 ksign_c.checksum.length = sizeof(ksign_c_data);
83 ksign_c.checksum.data = ksign_c_data;
91 kb.keyvalue = ksign_c.checksum;
134 Checksum k1_c, k2_c, k3_c, cksum;
147 k1_c.checksum.length = sizeof(k1_c_data);
148 k1_c.checksum.data = k1_c_data;
156 k2_c.checksum.length = sizeof(k2_c_data)
    [all...]
crypto-aes-sha1.c 96 struct _krb5_checksum_type *ct = crypto->et->checksum;
98 Checksum result;
102 ret = krb5_data_alloc(&result.checksum, ct->checksumsize);
108 ret = (*ct->checksum)(context, NULL, in->data, in->length, 0, &result);
110 krb5_data_free(&result.checksum);
114 if (result.checksum.length < crypto->et->blocksize)
138 EVP_Cipher(ctx, out->data, result.checksum.data,
150 krb5_data_free(&result.checksum);
  /src/external/bsd/zstd/dist/contrib/pzstd/
Options.h 36 bool checksum; member in struct:pzstd::Options
49 WriteMode writeMode, bool checksum, int verbosity)
54 checksum(checksum), verbosity(verbosity) {}
61 params.fParams.checksumFlag = checksum;
  /src/external/zlib/pigz/dist/zopfli/
zlib_container.c 28 /* Calculates the adler32 checksum of the data */
54 unsigned checksum = adler32(in, (unsigned)insize); local
68 ZOPFLI_APPEND_DATA((checksum >> 24) % 256, out, outsize);
69 ZOPFLI_APPEND_DATA((checksum >> 16) % 256, out, outsize);
70 ZOPFLI_APPEND_DATA((checksum >> 8) % 256, out, outsize);
71 ZOPFLI_APPEND_DATA(checksum % 256, out, outsize);
  /src/sys/arch/hpcarm/dev/
ipaq_atmelvar.h 43 uint8_t checksum; member in struct:atmel_rx
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/hvm/
hvm_info_table.h 48 uint8_t checksum; member in struct:hvm_info_table
  /src/external/gpl3/gcc/usr.bin/cc1/
Makefile 5 SRCS+= main.cc ${PROG}-checksum.cc
22 checksum-options
24 .include "../Makefile.checksum"
  /src/external/gpl3/gcc/usr.bin/f951/
Makefile 6 SRCS+= main.cc ${PROG}-checksum.cc
28 ${OBJS:Nmain.o:Nf951-checksum.o} \
29 checksum-options
31 .include "../Makefile.checksum"
  /src/external/gpl3/gcc.old/usr.bin/cc1/
Makefile 5 SRCS+= main.cc ${PROG}-checksum.cc
22 checksum-options
24 .include "../Makefile.checksum"
  /src/sys/arch/landisk/include/
bootinfo.h 50 uint16_t type, checksum; member in struct:btinfo_bootdisk::__anon1549
  /src/distrib/sets/
makesums 5 # Make checksum files for files in ``tardir''. Usage:
9 # The ``setname'' arguments comprise a list of files to checksum,
11 # If -A is given, then the checksum are appended to possibly existing files.
35 -A Append to possible existing checksum files
36 -a checksum all plain files instead of [setname [...]]
38 setname [...] sets to checksum [*.tgz *.tar.xz]
  /src/sys/dev/ata/
ata_raid_intel.c 95 printf("checksum 0x%08x\n", info->checksum);
145 uint32_t checksum, *ptr; local
191 /* calculate checksum and compare for valid */
192 for (checksum = 0, ptr = (uint32_t *)info, count = 0;
194 checksum += *ptr++;
196 checksum -= info->checksum;
197 if (checksum != info->checksum) {
314 uint32_t checksum; member in struct:__anon2503
    [all...]
ata_raid_via.c 108 printf("checksum 0x%02x\n", info->checksum);
122 uint8_t checksum, checksum_alt, byte3, *ptr; local
167 /* calculate checksum and compare for valid */
168 for (byte3 = 0, checksum = 0, ptr = (uint8_t *)info, count = 0;
173 checksum += *ptr++;
174 checksum_alt = checksum + (byte3 & ~VIA_T_BOOTABLE);
175 checksum += byte3;
176 if (checksum != info->checksum && checksum_alt != info->checksum)
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
8003.c 113 * create a checksum over the chanel bindings in
124 Checksum *result)
129 * see rfc1964 (section 1.1.1 (Initial Token), and the checksum value
133 result->checksum.length = 24 + 4 + fwd_data->length;
135 result->checksum.length = 24;
136 result->checksum.data = malloc (result->checksum.length);
137 if (result->checksum.data == NULL) {
142 p = result->checksum.data;
169 * verify the checksum in `cksum' over `input_chan_bindings
    [all...]
  /src/external/bsd/elftosb/dist/common/
StSRecordFile.cpp 129 int checksum = 0; local
149 checksum += newRecord.m_count;
203 checksum += addressByte;
218 checksum += dataByte;
225 // read and compare checksum byte
226 checksum = (~checksum) & 0xff; // low byte of one's complement of sum of other bytes
228 if (checksum != newRecord.m_checksum)
230 throw StSRecordParseException("invalid checksum");
  /src/external/gpl2/mkhybrid/dist/
eltorito.c 121 int checksum; local
178 * compute the checksum
180 checksum=0;
191 checksum += (unsigned int)checksum_ptr[i];
192 checksum += ((unsigned int)checksum_ptr[i+1])*256;
196 * now find out the real checksum
198 checksum = -checksum;
199 set_721(valid_desc.cksum, (unsigned int) checksum);
  /src/sys/arch/zaurus/include/
bootinfo.h 53 uint16_t type, checksum; member in struct:btinfo_bootdisk::__anon2266
  /src/external/gpl2/lvm2/dist/lib/format_text/
import.c 44 checksum_fn_t checksum_fn, uint32_t checksum,
59 offset2, size2, checksum_fn, checksum)))
87 uint32_t checksum,
104 offset2, size2, checksum_fn, checksum))) {
  /src/external/mpl/dhcp/dist/common/
packet.c 30 * very similar to that contribution, although the packet checksum code
32 * users, without whose gracious and thorough help the checksum code would
47 /* Compute the easy part of the checksum on a range of bytes. */
49 u_int32_t checksum (buf, nbytes, sum) function
57 log_debug ("checksum (%x %d %x)", (unsigned)buf, nbytes, sum);
60 /* Checksum all the pairs of bytes first... */
71 /* If there's a single byte left over, checksum it, too. Network
86 /* Finish computing the checksum, and then put it into network byte order. */
165 /* Checksum the IP header... */
166 ip.ip_sum = wrapsum (checksum ((unsigned char *)&ip, sizeof ip, 0))
    [all...]
  /src/external/gpl3/gdb/dist/gdb/stubs/
i386-stub.c 74 * 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 != xmitcsum
531 unsigned char checksum; local
    [all...]
m68k-stub.c 90 * checksum. A packet consists of
92 * $<packet info>#<checksum>.
96 * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
139 /* debug > 0 prints ill-formed commands in valid packets & checksum errors */
534 /* scan for the sequence $<data>#<checksum> */
540 unsigned char checksum;
552 checksum = 0;
564 checksum = checksum + ch;
577 if (checksum != xmitcsum
539 unsigned char checksum; local
611 unsigned char checksum; local
    [all...]

Completed in 37 milliseconds

1 2 3 4 5 6 7 8 91011>>