/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | Checksum.cpp | 17 Checksum::Checksum(const Checksum &checksum) { SetMD5(checksum.m_checksum); } argument 19 Checksum &Checksum::operator=(const Checksum &checksum) { argument 20 SetMD5(checksum.m_checksum); 31 bool Checksum::operator==(const Checksum &checksum) const { 32 return llvm::equal(m_checksum, checksum.m_checksum); 35 bool Checksum::operator!=(const Checksum &checksum) const { 36 return !(*this == checksum);
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Checksum.h | 20 Checksum(const Checksum &checksum); 21 Checksum &operator=(const Checksum &checksum); 24 bool operator==(const Checksum &checksum) const; 25 bool operator!=(const Checksum &checksum) const;
|
H A D | SupportFile.h | 20 /// file yet. This also stores an optional checksum of the on-disk content. 25 SupportFile(const FileSpec &spec, const Checksum &checksum) argument 26 : m_file_spec(spec), m_checksum(checksum) {} 42 /// Return the checksum or all zeros if there is none.
|
/freebsd-current/usr.sbin/cpucontrol/ |
H A D | intel.h | 44 uint32_t checksum; /* Sum of all DWORDS should member in struct:intel_fw_header 58 uint32_t checksum; member in struct:intel_cpu_signature 63 uint32_t checksum; member in struct:intel_ext_header
|
H A D | via.h | 44 uint32_t checksum; /* Sum of all DWORDS should member in struct:via_fw_header 57 uint32_t checksum; member in struct:via_cpu_signature
|
H A D | amd.h | 42 uint32_t checksum; /* ucode checksum. */ member in struct:amd_fw_header
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | crypto-arcfour.c | 55 * checksum according to section 5. of draft-brezak-win2k-krb-rc4-hmac-03.txt 82 ksign_c.checksum.length = sizeof(ksign_c_data); 83 ksign_c.checksum.data = ksign_c_data; 91 kb.keyvalue = ksign_c.checksum; 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); 157 k2_c.checksum.data = k2_c_data; 160 kb.keyvalue = k2_c.checksum; 162 cksum.checksum [all...] |
H A D | crypto-aes.c | 94 struct _krb5_checksum_type *ct = crypto->et->checksum; 100 ret = krb5_data_alloc(&result.checksum, ct->checksumsize); 106 ret = (*ct->checksum)(context, NULL, in->data, in->length, 0, &result); 108 krb5_data_free(&result.checksum); 112 if (result.checksum.length < crypto->et->blocksize) 133 EVP_Cipher(ctx, out->data, result.checksum.data, 138 krb5_data_free(&result.checksum);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/ |
H A D | bclone_diffprops_checksum.ksh | 37 log_assert "Verify block cloning across datasets with different checksum properties" 47 log_must zfs set checksum=$srcprop $TESTSRCFS 48 log_must zfs set checksum=$dstprop $TESTDSTFS 59 log_must zfs inherit checksum $TESTSRCFS 60 log_must zfs inherit checksum $TESTDSTFS
|
H A D | bclone_diffprops_all.ksh | 38 log_must zfs set checksum=off $TESTSRCFS 42 log_must zfs set checksum=fletcher2 $TESTDSTFS 51 log_must zfs set checksum=sha256 $TESTSRCFS 55 log_must zfs set checksum=off $TESTDSTFS 64 log_must zfs set checksum=sha512 $TESTSRCFS 68 log_must zfs set checksum=fletcher4 $TESTDSTFS 77 log_must zfs inherit checksum $TESTSRCFS 81 log_must zfs inherit checksum $TESTDSTFS
|
/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | libelf_checksum.c | 51 unsigned long checksum; local 70 * checksum along the way. 77 checksum = 0; 90 checksum = _libelf_sum(checksum, 95 * Return a 16-bit checksum compatible with Solaris. 97 return (long) (((checksum >> 16) & 0xFFFFUL) + (checksum & 0xFFFFUL));
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_from_encrypted.ksh | 30 # 3. Create and checksum a file on the encrypted dataset 34 # 7. Verify the checksum of the file is the same as the original 36 # 9. Verify the checksum of the file is the same as the original 62 typeset checksum=$(md5digest /$TESTPOOL/$TESTFS2/$TESTFILE0) 73 [[ "$cksum1" == "$checksum" ]] || \ 74 log_fail "Checksums differ ($cksum1 != $checksum)" 80 [[ "$cksum2" == "$checksum" ]] || \ 81 log_fail "Checksums differ ($cksum2 != $checksum)"
|
H A D | zfs_receive_raw.ksh | 29 # 2. Create a file and get its checksum 34 # 7. Verify the checksum of the file is the same as the original 38 # 11. Verify the checksum of the file is the same as the original 64 typeset checksum=$(md5digest /$TESTPOOL/$TESTFS1/$TESTFILE0) 78 [[ "$cksum1" == "$checksum" ]] || \ 79 log_fail "Checksums differ ($cksum1 != $checksum)" 89 [[ "$cksum2" == "$checksum" ]] || \ 90 log_fail "Checksums differ ($cksum2 != $checksum)"
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | zio_checksum.c | 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, whic 298 zio_checksum_template_init(enum zio_checksum checksum, spa_t *spa) argument 340 zio_checksum_compute(zio_t *zio, enum zio_checksum checksum, abd_t *abd, uint64_t size) argument 415 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 538 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local [all...] |
/freebsd-current/sys/dev/cxgbe/cudbg/ |
H A D | fastlz_api.c | 38 /* for Adler-32 checksum algorithm, see RFC 1950 Section 8.2 */ 42 static inline unsigned long update_adler32(unsigned long checksum, argument 46 unsigned long s1 = checksum & 0xffff; 47 unsigned long s2 = (checksum >> 16) & 0xffff; 113 unsigned long size, unsigned long checksum, 127 buffer[8] = checksum & 255; 128 buffer[9] = (checksum >> 8) & 255; 129 buffer[10] = (checksum >> 16) & 255; 130 buffer[11] = (checksum >> 24) & 255; 148 unsigned long checksum; local 112 write_chunk_header(struct cudbg_buffer *_outbuf, int id, int options, unsigned long size, unsigned long checksum, unsigned long extra) argument 211 unsigned long checksum; local 349 unsigned long checksum; local [all...] |
/freebsd-current/sys/contrib/xen/hvm/ |
H A D | hvm_info_table.h | 48 uint8_t checksum; member in struct:hvm_info_table
|
/freebsd-current/tests/sys/fs/tarfs/ |
H A D | tarsum.c | 42 char checksum[8]; member in struct:__anon16::__anon17 64 verbose("current checksum %.*s\n", 65 (int)sizeof(ustar.checksum), ustar.checksum); 66 memset(ustar.checksum, ' ', sizeof(ustar.checksum)); 69 verbose("calculated checksum %#lo\n", sum); 70 sprintf(ustar.checksum, "%#lo", sum);
|
/freebsd-current/sys/x86/include/ |
H A D | ucode.h | 45 uint32_t checksum; member in struct:ucode_intel_header 61 uint32_t checksum; member in struct:ucode_intel_extsig_table::ucode_intel_extsig
|
/freebsd-current/sys/netinet/ |
H A D | sctp_crc32.c | 85 * Compute the SCTP checksum in network byte order for a given mbuf chain m 111 * Compute and insert the SCTP checksum in network byte order for a given 117 uint32_t checksum; local 119 checksum = sctp_calculate_cksum(m, offset); 122 offset += offsetof(struct sctphdr, checksum); 134 m_copyback(m, (int)offset, (int)sizeof(uint32_t), (caddr_t)&checksum);
|
/freebsd-current/sys/dev/ocs_fc/ |
H A D | ocs_vpd.h | 48 uint8_t checksum; member in struct:__anon4050 54 * Returns next VPD byte and updates accumulated checksum 68 vpd->checksum += rc; 118 * @return returns a pointer to the key location or NULL if not found or checksum error 132 vpdbuf.checksum = 0; 175 /* Read the checksum */ 180 /* The accumulated checksum should be zero here */ 181 if (vpdbuf.checksum != 0) { 182 ocs_log_test(NULL, "checksum error\n");
|
/freebsd-current/usr.sbin/bsdinstall/scripts/ |
H A D | Makefile | 5 checksum \
|
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/ |
H A D | 8003.c | 111 * create a checksum over the chanel bindings in 127 * see rfc1964 (section 1.1.1 (Initial Token), and the checksum value 131 result->checksum.length = 24 + 4 + fwd_data->length; 133 result->checksum.length = 24; 134 result->checksum.data = malloc (result->checksum.length); 135 if (result->checksum.data == NULL) { 140 p = result->checksum.data; 167 * verify the checksum in `cksum' over `input_chan_bindings' 186 if(cksum->cksumtype != CKSUMTYPE_GSSAPI || cksum->checksum [all...] |
/freebsd-current/contrib/elftoolchain/elfcopy/ |
H A D | ascii.c | 57 int *checksum); 69 int *checksum); 272 warnx("Invalid srec record or mismatched checksum"); 530 warnx("Invalid ihex record or mismatched checksum"); 694 int checksum, i, len; local 696 checksum = 0; 698 if (read_num(line, &len, &count, 1, &checksum) < 0) 720 if (read_num(line, &len, addr, addr_sz, &checksum) < 0) 726 if (read_num(line, &len, &num, 1, &checksum) < 0) 737 if ((int) _checksum != (~checksum 848 int len, addr_sz, checksum; local 900 int checksum, i, len; local 986 int len, checksum; local 1011 read_num(const char *line, int *len, uint64_t *num, size_t sz, int *checksum) argument 1030 write_num(char *line, int *len, uint64_t num, size_t sz, int *checksum) argument [all...] |
/freebsd-current/sbin/dhclient/ |
H A D | packet.c | 55 u_int32_t checksum(unsigned char *, unsigned, u_int32_t); 59 checksum(unsigned char *buf, unsigned nbytes, u_int32_t sum) function 71 * If there's a single byte left over, checksum it, too. 129 ip.ip_sum = wrapsum(checksum((unsigned char *)&ip, sizeof(ip), 0)); 138 udp.uh_sum = wrapsum(checksum((unsigned char *)&udp, sizeof(udp), 139 checksum(data, len, checksum((unsigned char *)&ip.ip_src, 181 /* Check the IP header checksum - it should be zero. */ 183 if (wrapsum(checksum(buf + bufix, ip_len, 0)) != 0) { 202 * UDP header and the data. If the UDP checksum fiel [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
H A D | zfs_allow_010_pos.ksh | 75 checksum true true \ 111 checksum true true \ 143 checksum true true \
|