| /netvirt/usr/src/cmd/perl/5.6.1/distrib/lib/Net/ |
| Ping.pm | 185 $checksum, # Checksum of ICMP packet 199 $from_chk, # ICMP packet checksum 206 $checksum = 0; # No checksum for starters 208 $checksum, $self->{"pid"}, $self->{"seq"}, $self->{"data"}); 209 $checksum = Net::Ping->checksum($msg); 211 $checksum, $self->{"pid"}, $self->{"seq"}, $self->{"data"}); 257 # Description: Do a checksum on the message. Basically sum all o 260 sub checksum subroutine [all...] |
| /netvirt/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
| mk_req_ext.c | 45 outbuf, ap_req_options, checksum, and ccache are used in the 62 checksum specifies the checksum to be used in the authenticator. 138 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); 218 checksump = &checksum; 245 (*auth_context)->authentp->checksum = NULL [all...] |
| send_tgs.c | 61 krb5_checksum checksum; local 67 /* Generate checksum */ 71 in_data, &checksum); 73 free(checksum.contents); 80 authent.checksum = &checksum; 85 free(checksum.contents); 91 free(checksum.contents); 95 free(checksum.contents); 218 /* encode the body; then checksum it * [all...] |
| /netvirt/usr/src/uts/common/fs/zfs/ |
| zio_checksum.c | 34 * Checksum vectors. 36 * In the SPA, everything is checksummed. We support checksum vectors 40 * For SPA metadata, we always want a very strong checksum. 42 * and checksum strength. 53 * Of course, we don't want a checksum upgrade to invalidate existing 54 * data, so we store the checksum *function* in five bits of the DVA. 55 * This gives us room for up to 32 different checksum functions. 57 * When writing a block, we always checksum it with the latest-and-greatest 58 * checksum function of the appropriate strength. When reading a block, 59 * we compare the expected checksum against the actual checksum, which w 126 uint_t checksum = BP_IS_GANG(bp) ? ZIO_CHECKSUM_GANG_HEADER : local [all...] |
| /netvirt/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
| ser_cksum.c | 63 krb5_checksum *checksum; 71 * checksum->length for contents 74 checksum = (krb5_checksum *) arg; 75 if (checksum) { 80 (size_t) checksum->length); 94 krb5_checksum *checksum; 103 checksum = (krb5_checksum *) arg; 104 if (checksum) { 112 (void) krb5_ser_pack_int32((krb5_int32) checksum->checksum_type, 116 (void) krb5_ser_pack_int32((krb5_int32) checksum->length 62 krb5_checksum *checksum; local 92 krb5_checksum *checksum; local 141 krb5_checksum *checksum; local [all...] |
| /netvirt/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
|
| /netvirt/usr/src/grub/grub-0.95/stage2/ |
| mb_header.h | 33 * Checksum 37 unsigned checksum; member in struct:multiboot_header
|
| bios.c | 255 unsigned char checksum; 253 unsigned char checksum; member in struct:drive_parameters
|
| smp-imps.h | 109 unsigned char checksum; member in struct:imps_fps 124 unsigned char checksum; member in struct:imps_cth
|
| /netvirt/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...] |
| /netvirt/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| snoop_rpcsec.c | 210 * For integrity service : print the checksum. 231 sprintf(line, "RPC RPCSEC_GSS C (checksum)"); 234 char *checksum; local 239 checksum = getxdr_hex(checksum_len); 241 "checksum: len = %d", checksum_len); 242 sprintf(get_line(0, 0), "[%s]", checksum);
|
| /netvirt/usr/src/uts/intel/io/pci/ |
| pci_resource.c | 54 static int checksum(unsigned char *cp, int len); 111 if (checksum((uchar_t *)fpp, fpp->fps_len * 16) != 0) { 112 dprintf("MP Floating Pointer Structure checksum error"); 123 if (checksum((uchar_t *)ctp, base_len) != 0) { 124 dprintf("MP Configuration Table checksum error"); 136 if (((checksum(extp, ext_len) + ctp->ct_ext_cksum) & 0xFF) != 0) { 137 dprintf("MP Extended Table checksum error"); 272 checksum(unsigned char *cp, int len) function
|
| /netvirt/usr/src/cmd/abi/spectrans/spec2map/ |
| bucket.c | 634 static int checksum(const char *); 679 p->h_hash = checksum(version_name); 694 int hash = checksum(version_name); 720 * checksum -- from sum(1), algorithm 1. 723 checksum(const char *p) function
|
| /netvirt/usr/src/cmd/format/ |
| label.c | 96 * Check the checksum. 98 if (checksum(label, CK_CHECKSUM) != 0) 104 * This routine checks or calculates the label checksum, depending on 108 checksum(label, mode) function 116 * If we are generating a checksum, don't include the checksum 129 * If we are checking the checksum, the total will be zero for 130 * a correct checksum, so we can just return the sum. 135 * If we are generating the checksum, fill it in. 366 * Generate the correct checksum [all...] |
| /netvirt/usr/src/cmd/fs.d/ufs/fstyp/ |
| fstyp.c | 440 checksum(int32_t *sp, int32_t *lp, int nb) function 481 if (!checksum(&ebp->chksum, (int32_t *)ebp, fsp->fs_bsize)) 482 (void) fprintf(fout, gettext("Invalid log checksum\n"));
|
| /netvirt/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
| Ping.pm | 413 $checksum, # Checksum of ICMP packet 427 $from_chk, # ICMP packet checksum 434 $checksum = 0; # No checksum for starters 436 $checksum, $self->{"pid"}, $self->{"seq"}, $self->{"data"}); 437 $checksum = Net::Ping->checksum($msg); 439 $checksum, $self->{"pid"}, $self->{"seq"}, $self->{"data"}); 500 # Description: Do a checksum on the message. Basically sum all o 503 sub checksum subroutine [all...] |
| /netvirt/usr/src/common/openssl/crypto/krb5/ |
| krb5_asn.h | 151 /* Checksum ::= SEQUENCE { 153 ** checksum[1] OCTET STRING 159 ASN1_OCTET_STRING *checksum; member in struct:krb5_checksum_st 198 ** cksum[3] Checksum OPTIONAL,
|
| /netvirt/usr/src/grub/grub-0.95/docs/ |
| multiboot.h | 53 unsigned long checksum; member in struct:multiboot_header
|
| /netvirt/usr/src/uts/common/io/e1000g/ |
| e1000_nvm.c | 553 * EEPROM will most likley contain an invalid checksum. 641 * EEPROM will most likley contain an invalid checksum. 794 * e1000_validate_nvm_checksum_generic - Validate EEPROM checksum 797 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM 804 u16 checksum = 0; local 815 checksum += nvm_data; 818 if (checksum != (u16)NVM_SUM) { 819 DEBUGOUT("NVM Checksum Invalid\n"); 829 * e1000_update_nvm_checksum_generic - Update EEPROM checksum 832 * Updates the EEPROM checksum by reading/adding each word of the EEPRO 840 u16 checksum = 0; local [all...] |
| /netvirt/usr/src/uts/common/io/igb/ |
| igb_nvm.c | 555 * EEPROM will most likley contain an invalid checksum. 642 * EEPROM will most likley contain an invalid checksum. 796 * e1000_validate_nvm_checksum_generic - Validate EEPROM checksum 799 * Calculates the EEPROM checksum by reading/adding each word of the EEPROM 806 u16 checksum = 0; local 817 checksum += nvm_data; 820 if (checksum != (u16) NVM_SUM) { 821 DEBUGOUT("NVM Checksum Invalid\n"); 831 * e1000_update_nvm_checksum_generic - Update EEPROM checksum 834 * Updates the EEPROM checksum by reading/adding each word of the EEPRO 842 u16 checksum = 0; local [all...] |
| /netvirt/usr/src/uts/i86pc/os/ |
| acpi_fw.h | 47 uint8_t checksum; member in struct:rsdp_v1 65 uint8_t checksum; member in struct:table_header
|
| /netvirt/usr/src/uts/i86pc/sys/ |
| biosdisk.h | 108 unsigned char checksum; /* offset 73 */ member in struct:int13_fn48_result
|
| /netvirt/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/libctsmc/ |
| libctsmc.c | 73 #define IPMI_REQ_HDR_LEN 0x8 /* includes command & data checksum */ 89 uint8_t checksum; /* checksum for dest and netfn_lun */ member in struct:__anon1160 191 * checksum - returns a 2-complement check sum 194 checksum(uint8_t buf[], int start, int end) function 341 ipmi_header.checksum = checksum(data, 0, 1); 454 checksum(req_msg->data, 4, (IPMI_REQ_HDR_LEN-2)+dsize);
|
| /netvirt/usr/src/cmd/sgs/elfdump/common/ |
| _elfdump.h | 166 #define checksum checksum64 macro 190 #define checksum checksum32 macro
|
| /netvirt/usr/src/cmd/ssh/ssh/ |
| sshconnect1.c | 402 u_long checksum, cksum; local 420 checksum = (u_long)getpid(); 422 r = krb_mk_req(&auth, KRB4_SERVICE_NAME, inst, realm, checksum); 481 * key, and the decrypted checksum fails to match, he's 491 /* Fetch the (incremented) checksum that we supplied in the request. */ 497 if (cksum == checksum + 1) { [all...] |