Searched defs:digest (Results 1 - 2 of 2) sorted by relevance
/dalvik/libdex/ |
H A D | sha1.cpp | 236 /* Add padding and return the message digest. */ 238 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* argument 257 digest[i] = (unsigned char) 276 it in the 20-byte array digest. If fname is NULL, stdin is 279 void sha1file(char *fname, unsigned char* digest) argument 292 memset(digest, 0, HASHSIZE); 306 SHA1Final(digest, &context); 330 unsigned char digest[HASHSIZE]; local 365 sha1file(s, digest); 370 err |= digest[ 421 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 1760 milliseconds