Searched defs:digest (Results 1 - 2 of 2) sorted by relevance
/dalvik/libdex/ |
H A D | sha1.cpp | 239 /* Add padding and return the message digest. */ 241 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* argument 260 digest[i] = (unsigned char) 279 it in the 20-byte array digest. If fname is NULL, stdin is 282 void sha1file(char *fname, unsigned char* digest) argument 295 memset(digest, 0, HASHSIZE); 309 SHA1Final(digest, &context); 333 unsigned char digest[HASHSIZE]; local 368 sha1file(s, digest); 373 err |= digest[ 423 unsigned char digest[HASHSIZE]; local [all...] |
H A D | DexFile.cpp | 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) argument 144 *cp++ = hexDigit[digest[i] >> 4]; 145 *cp++ = hexDigit[digest[i] & 0x0f]; 374 * Verify the SHA-1 digest 123 dexComputeSHA1Digest(const unsigned char* data, size_t length, unsigned char digest[]) argument [all...] |
Completed in 1206 milliseconds