Lines Matching defs:algo
16 static bool ima_template_hash_algo_allowed(u8 algo)
18 if (algo == HASH_ALGO_SHA1 || algo == HASH_ALGO_MD5)
296 * - DATA_FMT_DIGEST_WITH_ALGO: <hash algo> + ':' + '\0' + digest,
298 * <digest type> + ':' + <hash algo> + ':' + '\0' + digest,
303 * where <hash algo> is the hash_algo_name[] string.
352 if (ima_template_hash_algo_allowed(event_data->iint->ima_hash->algo)) {
360 hash.hdr.algo = HASH_ALGO_SHA1;
363 /* algo can change depending on available PCR banks */
364 if (!result && hash.hdr.algo != HASH_ALGO_SHA1)
380 hash.hdr.algo = ima_template_hash_algo_allowed(ima_hash_algo) ?
412 hash_algo = event_data->iint->ima_hash->algo;
436 hash_algo = event_data->iint->ima_hash->algo;