Lines Matching defs:algo
14 static bool ima_template_hash_algo_allowed(u8 algo)
16 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5)
233 * - DATA_FMT_DIGEST_WITH_ALGO: [<hash algo>] + ':' + '\0' + digest,
234 * where <hash algo> is provided if the hash algoritm is not
283 if (ima_template_hash_algo_allowed(event_data->iint->ima_hash->algo)) {
291 hash.hdr.algo = HASH_ALGO_SHA1;
294 /* algo can change depending on available PCR banks */
295 if (!result && hash.hdr.algo != HASH_ALGO_SHA1)
311 hash.hdr.algo = ima_template_hash_algo_allowed(ima_hash_algo) ?
342 hash_algo = event_data->iint->ima_hash->algo;