Searched refs:kSHA1DigestLen (Results 1 – 4 of 4) sorted by relevance
321 for (i = 0; i < kSHA1DigestLen; i++) { in dexSHA1DigestToStr()780 unsigned char sha1Digest[kSHA1DigestLen]; in dexFileParse()782 kSHA1DigestLen; in dexFileParse()785 if (memcmp(sha1Digest, pHeader->signature, kSHA1DigestLen) != 0) { in dexFileParse()
62 enum { kSHA1DigestLen = 20, enumerator63 kSHA1DigestOutputLen = kSHA1DigestLen*2 +1 };197 u1 signature[kSHA1DigestLen]; /* SHA-1 hash */
955 if (memcmp(signature, ptr, kSHA1DigestLen) != 0) { in dvmCheckOptHeaderAndDependencies()959 ptr += kSHA1DigestLen; in dvmCheckOptHeaderAndDependencies()1011 bufLen += 4*4 + numDeps * (4+kSHA1DigestLen); in writeDependencies()1030 if (ptr + 4 + len + kSHA1DigestLen > buf + bufLen) { in writeDependencies()1039 memcpy(ptr, signature, kSHA1DigestLen); in writeDependencies()1040 ptr += kSHA1DigestLen; in writeDependencies()
371 pHeader->signature[kSHA1DigestLen-2], in dumpFileHeader()372 pHeader->signature[kSHA1DigestLen-1]); in dumpFileHeader()