Lines Matching refs:hash_value
18 static unsigned char *hash_bin_to_hex(unsigned char *hash_value,
23 bin2hex(hex_value, (char*)hash_value, hash_length);
34 uint8_t *hash_value = NULL;
68 hash_value = hash_bin_to_hex(in_buf, hash_len);
77 return hash_value;
84 uint8_t *hash_value;
146 hash_value = hash_file(filename_ptr, hash_algo);
148 if (hash_value && (strcmp((char*)hash_value, line) == 0)) {
158 free(hash_value);
174 hash_value = hash_file(file_ptr, hash_algo);
175 if (hash_value == NULL) {
178 printf("%s %s\n", hash_value, file_ptr);
179 free(hash_value);