Searched refs:checksum (Results 1 - 7 of 7) sorted by relevance
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | DESedeWrapEngine.java | 51 // checksum digest 319 * - Use the first 8 octets of this hash as the checksum value. 322 * @return the CMS checksum. 341 * @param checksum 347 byte[] checksum) 351 if (checksum.length != calculatedChecksum.length) 356 for (int i = 0; i != checksum.length; i++) 358 if (checksum[i] != calculatedChecksum[i]) 345 checkCMSKeyChecksum( byte[] key, byte[] checksum) argument
|
/dalvik/libdex/ |
H A D | DexFile.c | 760 * Verify the checksum(s). This is reasonably quick, but does require 761 * touching every byte in the DEX file. The base checksum changes after 766 if (adler != pHeader->checksum) { 767 LOGE("ERROR: bad checksum (%08x vs %08x)\n", 768 adler, pHeader->checksum); 772 LOGV("+++ adler32 checksum (%08x) verified\n", adler); 778 if (adler != pOptHeader->checksum) { 779 LOGE("ERROR: bad opt checksum (%08x vs %08x)\n", 780 adler, pOptHeader->checksum); 784 LOGV("+++ adler32 opt checksum ( [all...] |
H A D | DexFile.h | 196 u4 checksum; /* adler32 checksum */ member in struct:DexHeader 487 u4 checksum; /* adler32 checksum covering deps/aux */ member in struct:DexOptHeader 565 * Compute DEX checksum.
|
H A D | DexSwapVerify.c | 277 SWAP_FIELD4(pHeader->checksum); 2818 * Compute the adler32 checksum and compare it to what's stored in 2827 const int nonSum = sizeof(pHeader->magic) + sizeof(pHeader->checksum); 2829 u4 expectedChecksum = SWAP4(pHeader->checksum); 2835 LOGE("ERROR: bad checksum (%08lx, expected %08x)\n",
|
/dalvik/vm/ |
H A D | Dvm.mk | 96 # bug hunting: checksum and verify interpreted stack when making JNI calls
|
/dalvik/vm/analysis/ |
H A D | DexOptimize.c | 695 /* compute checksum from start of deps to end of aux area */ 718 optHdr.checksum = optChecksum; 1174 * Compute a checksum on a piece of an open file. 1187 LOGE("Unable to seek to start of checksum area (%ld): %s\n", 1198 LOGE("Read failed (%d) while computing checksum (len=%zu): %s\n", 1318 * Update the Adler-32 checksum stored in the DEX file. This covers the 1325 * Rewrite the checksum. We leave the SHA-1 signature alone. 1328 const int nonSum = sizeof(pHeader->magic) + sizeof(pHeader->checksum); 1331 pHeader->checksum = adler;
|
/dalvik/dexdump/ |
H A D | DexDump.c | 368 printf("checksum : %08x\n", pHeader->checksum); 1690 fprintf(stderr, " -c : verify checksum and exit\n"); 1694 fprintf(stderr, " -i : ignore checksum failures\n"); 1719 case 'c': // verify the checksum then exit 1731 case 'i': // continue even if checksum is bad
|
Completed in 401 milliseconds