HomeSort by relevance Sort by last modified time
    Searched refs:checksum (Results 1 - 25 of 252) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/webkit/Tools/DumpRenderTree/
PixelDumpSupport.h 41 void dumpBitmap(BitmapContext*, const char* checksum);
43 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum);
PixelDumpSupport.cpp 87 static void convertChecksumToPNGComment(const char* checksum, Vector<unsigned char>& bytesToAdd)
95 bytesToAdd.append(checksum, checksumLength);
99 dataToCrc.append(checksum, checksumLength);
108 const int pngIHDRChunkLength = 25; // chunk length + "IHDR" + 13 bytes of data + checksum
112 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum)
115 convertChecksumToPNGComment(checksum, bytesToAdd);
  /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];
  /external/chromium/chrome/browser/sync/util/
crypto_helpers_unittest.cc 15 std::string checksum("e2c865db4162bed963bfaa9ef6ac18f0");
16 ASSERT_EQ(checksum, md5.GetHexDigest());
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/
read_checksum_from_png_unittest.py 34 checksum = read_checksum_from_png.read_checksum(filehandle)
35 self.assertEquals('3c4134fe2739880353f91c5b84cadbaa', checksum)
39 checksum = read_checksum_from_png.read_checksum(filehandle)
40 self.assertEquals(None, checksum)
  /external/webkit/Tools/DumpRenderTree/cairo/
PixelDumpSupportCairo.cpp 52 static void printPNG(cairo_surface_t* image, const char* checksum)
61 printPNG(data, dataLength, checksum);
82 md5Context.checksum(hash);
89 void dumpBitmap(BitmapContext* context, const char* checksum)
92 printPNG(surface, checksum);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
cycx_cfm.h 80 * @checksum - info + image
89 unsigned short checksum; member in struct:cycx_firmware
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
cycx_cfm.h 80 * @checksum - info + image
89 unsigned short checksum; member in struct:cycx_firmware
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
romfs_fs.h 25 __be32 checksum; member in struct:romfs_super_block
35 __be32 checksum; member in struct:romfs_inode
cycx_cfm.h 80 * @checksum - info + image
89 unsigned short checksum; member in struct:cycx_firmware
  /external/webkit/Source/JavaScriptCore/wtf/
MD5.h 48 // checksum has a side effect of resetting the state of the object.
49 void checksum(Vector<uint8_t, 16>&);
  /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/webkit/Tools/Scripts/
svn-unapply 74 sub checksum($);
126 sub checksum($) subroutine
131 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest();
133 return $checksum;
197 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
  /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
  /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/webkit/Tools/DumpRenderTree/cg/
PixelDumpSupportCG.cpp 58 static void printPNG(CGImageRef image, const char* checksum)
68 printPNG(static_cast<const unsigned char*>(data), static_cast<size_t>(dataLength), checksum); local
109 void dumpBitmap(BitmapContext* context, const char* checksum)
112 printPNG(image.get(), checksum);
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
dryrun.py 127 checksum = 'test-checksum'
132 checksum = 'test-checksum-mismatch'
137 checksum = self._port.expected_checksum(driver_input.filename)
139 return base.DriverOutput(text, image, checksum, audio, crash=False,
mock_drt.py 170 self.checksum = None
173 self.checksum = vals[1]
211 if self._options.pixel_tests and test_input.checksum:
229 if self._options.pixel_tests and test_input.checksum:
232 self._stdout.write('ExpectedHash: %s\n' % test_input.checksum)
233 if actual_checksum != test_input.checksum:
248 self.uri, self.timeout, self.checksum = vals
252 self.checksum = None
267 if self._options.pixel_tests and test_input.checksum:
269 if actual_checksum != test_input.checksum
    [all...]
  /external/chromium/chrome/browser/safe_browsing/
prefix_set.cc 49 // Used to build a checksum from the data used to construct the
53 uint32 checksum = static_cast<uint32>(sorted_prefixes[0]); local
54 checksum ^= static_cast<uint32>(deltas_.size());
70 checksum ^= static_cast<uint32>(sorted_prefixes[i]);
71 checksum ^= static_cast<uint32>(deltas_.size());
75 checksum ^= static_cast<uint32>(delta16);
84 checksum_ = checksum;
332 uint32 checksum = 0; local
335 checksum ^= static_cast<uint32>(index_[ii].first);
336 checksum ^= static_cast<uint32>(index_[ii].second)
    [all...]

Completed in 1151 milliseconds

1 2 3 4 5 6 7 8 91011