Lines Matching defs:digest
83 unsigned char **digest, int *flags);
88 static char *read_manifest(char *path, unsigned char *digest);
134 * Parse a single line of manifest looking for a digest and its type.
139 get_fp(const char *entry, char **type, unsigned char **digest, int *flags)
167 * fp_type and digest in hexadecimal form.
179 * Make sure that digest is followed by
195 * path, fp_type and digest.
210 if (digest != NULL)
211 *digest = local_digest;
252 * Read the manifest from location specified in path and verify its digest.
255 read_manifest(char *path, unsigned char *digest)
294 * If digest is wrong someone might be trying to fool us.
296 if (verify_digest(data, va.va_size, digest))
310 * First split it into path, digest_type and digest.
320 unsigned char *digest;
324 digest = NULL;
327 rc = get_fp(entry, &fp_type, &digest, &flags);
331 rc = hexstring_to_bin(digest);
362 digest,