/netbsd-current/external/gpl3/gcc.old/usr.bin/ |
H A D | Makefile.checksum | 1 # $NetBSD: Makefile.checksum,v 1.8 2023/02/20 02:12:29 mrg Exp $ 3 # Makefile fragment to build $PROG-checksum. depends upon having 9 CLEANFILES+= ${PROG}-checksum.c genchecksum genchecksum.lo checksum-options 19 ${PROG}-checksum.c: genchecksum ${CHECKSUM_OBJS} checksum-options 21 ./genchecksum ${CHECKSUM_OBJS} checksum-options >${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET} 23 checksum-options:
|
/netbsd-current/external/gpl3/gcc/usr.bin/ |
H A D | Makefile.checksum | 1 # $NetBSD: Makefile.checksum,v 1.2 2023/08/01 05:57:53 mrg Exp $ 3 # Makefile fragment to build $PROG-checksum. depends upon having 9 CLEANFILES+= ${PROG}-checksum.cc genchecksum genchecksum.lo checksum-options 19 ${PROG}-checksum.cc: genchecksum ${CHECKSUM_OBJS} checksum-options 21 ./genchecksum ${CHECKSUM_OBJS} checksum-options >${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET} 23 checksum-options:
|
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/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 238 zio_checksum_template_init(enum zio_checksum checksum, spa_t *spa) argument 261 zio_checksum_compute(zio_t *zio, enum zio_checksum checksum, void *data, uint64_t size) argument 304 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 388 uint_t checksum = (bp == NULL ? zio->io_prop.zp_checksum : local [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
H A D | 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...] |
H A D | hgsmi_defs.h | 66 u32 checksum; member in struct:hgsmi_buffer_tail
|
/netbsd-current/external/bsd/elftoolchain/dist/libelf/ |
H A D | libelf_checksum.c | 56 unsigned long checksum; local 75 * checksum along the way. 82 checksum = 0; 95 checksum = _libelf_sum(checksum, 100 * Return a 16-bit checksum compatible with Solaris. 102 return (long) (((checksum >> 16) & 0xFFFFUL) + (checksum & 0xFFFFUL));
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | crypto-arcfour.c | 57 * 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-sha1.c | 96 struct _krb5_checksum_type *ct = crypto->et->checksum; 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);
|
/netbsd-current/external/zlib/pigz/dist/zopfli/ |
H A D | 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);
|
/netbsd-current/sys/arch/hpcarm/dev/ |
H A D | ipaq_atmelvar.h | 43 uint8_t checksum; member in struct:atmel_rx
|
/netbsd-current/sys/external/mit/xen-include-public/dist/xen/include/public/hvm/ |
H A D | hvm_info_table.h | 48 uint8_t checksum; member in struct:hvm_info_table
|
/netbsd-current/external/gpl3/gcc/usr.bin/cc1/ |
H A D | Makefile | 5 SRCS+= main.cc ${PROG}-checksum.cc 22 checksum-options 24 .include "../Makefile.checksum" 58 COPTS.cc1-checksum.c+=-O0
|
/netbsd-current/external/gpl3/gcc.old/usr.bin/cc1/ |
H A D | Makefile | 5 SRCS+= main.c ${PROG}-checksum.c 22 checksum-options 24 .include "../Makefile.checksum"
|
/netbsd-current/sys/arch/landisk/include/ |
H A D | bootinfo.h | 50 uint16_t type, checksum; member in struct:btinfo_bootdisk::__anon8675
|
/netbsd-current/distrib/sets/ |
H A D | 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]
|
/netbsd-current/sys/dev/ata/ |
H A D | 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:__anon2691 [all...] |
H A D | ata_raid_via.c | 108 printf("checksum 0x%02x\n", info->checksum); 123 uint8_t checksum, checksum_alt, byte3, *ptr; local 168 /* calculate checksum and compare for valid */ 169 for (byte3 = 0, checksum = 0, ptr = (uint8_t *)info, count = 0; 174 checksum += *ptr++; 175 checksum_alt = checksum + (byte3 & ~VIA_T_BOOTABLE); 176 checksum += byte3; 177 if (checksum != info->checksum [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
H A D | 8003.c | 113 * create a checksum over the chanel bindings in 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' 188 if(cksum->cksumtype != CKSUMTYPE_GSSAPI || cksum->checksum [all...] |
/netbsd-current/external/bsd/elftosb/dist/common/ |
H A D | 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");
|
/netbsd-current/external/gpl2/mkhybrid/dist/ |
H A D | 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);
|
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/ |
H A D | 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))) { 40 text_vgname_import(const struct format_type *fmt, struct device *dev, off_t offset, uint32_t size, off_t offset2, uint32_t size2, checksum_fn_t checksum_fn, uint32_t checksum, struct id *vgid, uint32_t *vgstatus, char **creation_host) argument 81 text_vg_import_fd(struct format_instance *fid, const char *file, struct device *dev, off_t offset, uint32_t size, off_t offset2, uint32_t size2, checksum_fn_t checksum_fn, uint32_t checksum, time_t *when, char **desc) argument
|
/netbsd-current/sys/arch/zaurus/include/ |
H A D | bootinfo.h | 53 uint16_t type, checksum; member in struct:btinfo_bootdisk::__anon9491
|
/netbsd-current/external/mpl/dhcp/dist/common/ |
H A D | 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); 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. */ 166 ip.ip_sum = wrapsum (checksum ((unsigned char *)&ip, sizeof ip, 0)); 188 wrapsum (checksum ((unsigned char *)&udp, sizeof udp, 189 checksum (dat [all...] |
/netbsd-current/external/gpl3/gdb/dist/gdb/stubs/ |
H A D | 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 ! 531 unsigned char checksum; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdb/stubs/ |
H A D | 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 ! 531 unsigned char checksum; local [all...] |