Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 5 of 5) sorted by relevance

/dalvik/libdex/
Dsha1.h18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
Dsha1.cpp238 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()
420 unsigned char digest[HASHSIZE]; in main() local
[all …]
DDexFile.cpp118 const char* dvmSHA1DigestToStr(const unsigned char digest[], char* tmpBuf);
124 unsigned char digest[]) in dexComputeSHA1Digest() argument
129 SHA1Final(digest, &context); in dexComputeSHA1Digest()
136 static const char* dexSHA1DigestToStr(const unsigned char digest[],char* tmpBuf) in dexSHA1DigestToStr() argument
144 *cp++ = hexDigit[digest[i] >> 4]; in dexSHA1DigestToStr()
145 *cp++ = hexDigit[digest[i] & 0x0f]; in dexSHA1DigestToStr()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDexFile.java618 int amt = md.digest(bytes, 12, 20); in calcSignature()
/dalvik/dx/src/com/android/dx/dex/file/
DDexFile.java635 int amt = md.digest(bytes, 12, 20); in calcSignature()