Lines Matching defs:hash
233 * - DATA_FMT_DIGEST_WITH_ALGO: [<hash algo>] + ':' + '\0' + digest,
234 * where <hash algo> is provided if the hash algoritm is not
272 } hash;
278 memset(&hash, 0, sizeof(hash));
291 hash.hdr.algo = HASH_ALGO_SHA1;
292 result = ima_calc_boot_aggregate(&hash.hdr);
295 if (!result && hash.hdr.algo != HASH_ALGO_SHA1)
299 memset(&hash, 0, sizeof(hash));
302 cur_digest = hash.hdr.digest;
311 hash.hdr.algo = ima_template_hash_algo_allowed(ima_hash_algo) ?
313 result = ima_calc_file_hash(event_data->file, &hash.hdr);
320 cur_digest = hash.hdr.digest;
321 cur_digestsize = hash.hdr.length;