/external/bluetooth/glib/glib/ |
gchecksum.h | 66 void g_checksum_reset (GChecksum *checksum); 67 GChecksum * g_checksum_copy (const GChecksum *checksum); 68 void g_checksum_free (GChecksum *checksum); 69 void g_checksum_update (GChecksum *checksum, 72 G_CONST_RETURN gchar *g_checksum_get_string (GChecksum *checksum); 73 void g_checksum_get_digest (GChecksum *checksum,
|
/external/genext2fs/ |
test.sh | 19 checksum=$1 21 if [ x$md5 = x$checksum ] ; then 31 # Usage: dtest file-size number-of-blocks correct-checksum 33 size=$1; blocks=$2; checksum=$3 36 md5cmp $checksum 43 # Usage: ftest spec-file number-of-blocks correct-checksum 45 fname=$1; blocks=$2; checksum=$3 48 md5cmp $checksum
|
/external/bluetooth/glib/tests/ |
checksum-test.c | 591 GChecksum *checksum; local 597 checksum = g_checksum_new (checksum_type); 600 g_checksum_update (checksum, (const guchar *)p, 604 if (strcmp (g_checksum_get_string (checksum), sum) != 0) 606 g_print ("Invalid %s checksum for `%.*s' (length %d) counting by %d:\n" 611 g_checksum_get_string (checksum), 616 g_checksum_free (checksum); 630 char *checksum; local 632 checksum = g_compute_checksum_for_string (checksum_type, 635 if (strcmp (checksum, expected) != 0 [all...] |
/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_done.c | 39 /* xor Lr against the checksum */ 41 state->checksum[x] ^= state->block[x] ^ state->Lr[x]; 46 state->checksum[x] ^= state->block[x]; 48 state->checksum[x] ^= 0x80; 52 if ((err = cipher_descriptor[state->cipher_idx].ecb_encrypt(state->checksum, state->checksum, &state->key)) != CRYPT_OK) { 59 out[x] = state->checksum[x];
|
pmac_process.c | 57 *((LTC_FAST_TYPE*)(&pmac->checksum[y])) ^= *((LTC_FAST_TYPE*)(&Z[y])); 76 pmac->checksum[x] ^= Z[x];
|
/system/core/libnetutils/ |
packet.c | 65 static uint32_t checksum(void *buffer, unsigned int count, uint32_t startsum) function 111 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); 118 /* Calculate checksum for pseudo header */ 119 udpsum = checksum(&ip.saddr, sizeof(ip.saddr), 0); 120 udpsum = checksum(&ip.daddr, sizeof(ip.daddr), udpsum); 122 udpsum = checksum(&temp, sizeof(temp), udpsum); 124 udpsum = checksum(&temp, sizeof(temp), udpsum); 126 /* Add in the checksum for the udp header */ 127 udpsum = checksum(&udp, sizeof(udp), udpsum); 129 /* Add in the checksum for the data * [all...] |
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
s_ocb_done.c | 22 * is we XOR the final ciphertext into the checksum so we have to xor it 93 /* xor C[m] into checksum */ 95 ocb->checksum[x] ^= ct[x]; 106 /* xor C[m] into checksum */ 108 ocb->checksum[x] ^= ct[x]; 112 /* xor Y[m] and Z[m] into checksum */ 114 ocb->checksum[x] ^= Y[x] ^ Z[x]; 117 /* encrypt checksum, er... tag!! */ 118 if ((err = cipher_descriptor[ocb->cipher].ecb_encrypt(ocb->checksum, X, &ocb->key)) != CRYPT_OK) {
|
/external/grub/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
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbelo.c | 134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) { 160 *checksum = *checksum + buffer[*buffer_p]; 161 *checksum = *checksum % 256; 169 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]); 170 *checksum = ELO_INIT_CHECKSUM; 424 int checksum = ELO_INIT_CHECKSUM; local 427 if(eloGetPacket(buffer, &pointer, &checksum, fd)) {
|
/external/chromium/sdch/open-vcdiff/src/ |
encodetable.h | 25 #include "checksum.h" 97 void AddChecksum(VCDChecksum checksum) { 99 checksum_ = checksum; 213 // If true, an Adler32 checksum of the target window data will be written as 218 // The checksum to be written to the current target window, 223 // the checksum all at once and to call AddChecksum() with that value.
|
vcdecoder_test.h | 21 #include "checksum.h" 50 // body, plus (if UseChecksum() is true) the corresponding checksum. 55 // This function adds an Adler32 checksum to the delta window header. 56 void AddChecksum(VCDChecksum checksum); 58 // This function computes the Adler32 checksum for the expected target
|
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/ |
driver_test.py | 49 crash, timeout, checksum, output, err = \ 53 print "checksum: " + str(checksum)
|
/bionic/libc/kernel/common/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/development/ndk/platforms/android-3/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/external/grub/docs/ |
multiboot.h | 53 unsigned long checksum; member in struct:multiboot_header
|
/external/kernel-headers/original/linux/ |
icmp.h | 71 __u16 checksum; member in struct:icmphdr
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
icmp.h | 61 __u16 checksum; member in struct:icmphdr
|
/external/elfutils/libelf/ |
elf32_checksum.c | 1 /* Compute simple checksum from permanent parts of the ELF file. 46 elfw2(LIBELFBITS,checksum) (elf) 96 /* To compute the checksum we need to get to the data. For 140 INTDEF(elfw2(LIBELFBITS,checksum))
|
/external/webkit/WebKitTools/Scripts/ |
svn-unapply | 74 sub checksum($); 156 sub checksum($) subroutine 161 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest(); 163 return $checksum; 225 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
|