Home | History | Annotate | Download | only in libdex

Lines Matching refs:digest

115  * Format an SHA-1 digest for printing.  tmpBuf must be able to hold at
118 const char* dvmSHA1DigestToStr(const unsigned char digest[], char* tmpBuf);
121 * Compute a SHA-1 digest on a range of bytes.
124 unsigned char digest[])
129 SHA1Final(digest, &context);
133 * Format the SHA-1 digest into the buffer, which must be able to hold at
136 static const char* dexSHA1DigestToStr(const unsigned char digest[],char* tmpBuf)
144 *cp++ = hexDigit[digest[i] >> 4];
145 *cp++ = hexDigit[digest[i] & 0x0f];
374 * Verify the SHA-1 digest. (Normally we don't want to do this --
375 * the digest is used to uniquely identify the original DEX file, and
388 LOGE("ERROR: bad SHA1 digest (%s vs %s)",
394 LOGV("+++ sha1 digest verified");