Lines Matching refs: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.
360 if (ima_template_hash_algo_allowed(event_data->iint->ima_hash->algo)) {
369 hash.hdr.algo = HASH_ALGO_SHA1;
372 /* algo can change depending on available PCR banks */
373 if (!result && hash.hdr.algo != HASH_ALGO_SHA1)
389 hash.hdr.algo = ima_template_hash_algo_allowed(ima_hash_algo) ?
421 hash_algo = event_data->iint->ima_hash->algo;
445 hash_algo = event_data->iint->ima_hash->algo;