Lines Matching refs:digest
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
480 sha1file(s, digest); in main()
483 printf("%02x", digest[j]); in main()