Searched refs:digest (Results 1 – 6 of 6) sorted by relevance
/dalvik/libdex/ |
D | sha1.cpp | 238 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* in SHA1Final() 257 digest[i] = (unsigned char) in SHA1Final() 279 void sha1file(char *fname, unsigned char* digest) in sha1file() argument 292 memset(digest, 0, HASHSIZE); in sha1file() 306 SHA1Final(digest, &context); in sha1file() 330 unsigned char digest[HASHSIZE]; in verifyfile() local 365 sha1file(s, digest); in verifyfile() 370 err |= digest[k]- in verifyfile() 381 fprintf(stderr, "%02X", digest[k]); in verifyfile() 421 unsigned char digest[HASHSIZE]; in main() local [all …]
|
D | DexFile.cpp | 117 const char* dvmSHA1DigestToStr(const unsigned char digest[], char* tmpBuf); 123 unsigned char digest[]) in dexComputeSHA1Digest() argument 128 SHA1Final(digest, &context); in dexComputeSHA1Digest() 135 static const char* dexSHA1DigestToStr(const unsigned char digest[],char* tmpBuf) in dexSHA1DigestToStr() argument 143 *cp++ = hexDigit[digest[i] >> 4]; in dexSHA1DigestToStr() 144 *cp++ = hexDigit[digest[i] & 0x0f]; in dexSHA1DigestToStr()
|
D | sha1.h | 18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
/dalvik/dx/src/com/android/dex/ |
D | Dex.java | 273 MessageDigest digest; in computeSignature() local 275 digest = MessageDigest.getInstance("SHA-1"); in computeSignature() 286 digest.update(buffer, 0, count); in computeSignature() 288 return digest.digest(); in computeSignature()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | DexFile.java | 618 int amt = md.digest(bytes, 12, 20); in calcSignature()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | DexFile.java | 776 int amt = md.digest(bytes, 12, 20); in calcSignature()
|