Searched refs:ima_hash_algo (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/security/integrity/ima/
H A Dima_crypto.c74 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); ima_init_crypto()
78 hash_algo_name[ima_hash_algo], rc); ima_init_crypto()
90 algo = ima_hash_algo; ima_alloc_tfm()
92 if (algo != ima_hash_algo) { ima_alloc_tfm()
177 algo = ima_hash_algo; ima_alloc_atfm()
179 if (algo != ima_hash_algo || !tfm) { ima_alloc_atfm()
182 if (algo == ima_hash_algo) ima_alloc_atfm()
H A Dima_template.c73 ima_hash_algo != HASH_ALGO_SHA1 && ima_hash_algo != HASH_ALGO_MD5) { ima_template_setup()
H A Dima_main.c39 int ima_hash_algo = HASH_ALGO_SHA1; variable
52 ima_hash_algo = HASH_ALGO_SHA1; hash_setup()
54 ima_hash_algo = HASH_ALGO_MD5; hash_setup()
60 ima_hash_algo = i; hash_setup()
H A Dima_template_lib.c228 hash.hdr.algo = ima_template_hash_algo_allowed(ima_hash_algo) ? ima_eventdigest_init()
229 ima_hash_algo : HASH_ALGO_SHA1; ima_eventdigest_init()
H A Dima.h52 extern int ima_hash_algo;
H A Dima_api.c218 hash.hdr.algo = ima_hash_algo; ima_collect_measurement()

Completed in 112 milliseconds