Searched refs:digest (Results 1 – 4 of 4) sorted by relevance
57 uint8_t digest[SHA_DIGEST_SIZE]; in ParsePatchArgs() local67 if (ParseSha1(argv[i], digest) != 0) { in ParsePatchArgs()
50 int ParseSha1(const char* str, uint8_t* digest);
447 int ParseSha1(const char* str, uint8_t* digest) { in ParseSha1() argument450 uint8_t* pd = digest; in ParseSha1()
1029 static char* PrintSha1(uint8_t* digest) { in PrintSha1() argument1034 buffer[i*2] = alphabet[(digest[i] >> 4) & 0xf]; in PrintSha1()1035 buffer[i*2+1] = alphabet[digest[i] & 0xf]; in PrintSha1()1063 uint8_t digest[SHA_DIGEST_SIZE]; in Sha1CheckFn() local1064 SHA(args[0]->data, args[0]->size, digest); in Sha1CheckFn()1068 return StringValue(PrintSha1(digest)); in Sha1CheckFn()1081 } else if (memcmp(digest, arg_digest, SHA_DIGEST_SIZE) == 0) { in Sha1CheckFn()