Lines Matching refs:ima_hash_algo
38 int __ro_after_init ima_hash_algo = HASH_ALGO_SHA1; variable
55 ima_hash_algo = HASH_ALGO_SHA1; in hash_setup()
57 ima_hash_algo = HASH_ALGO_MD5; in hash_setup()
72 ima_hash_algo = i; in hash_setup()
81 return ima_hash_algo; in ima_get_current_hash_algo()
584 ima_hash_algo, NULL); in __ima_inode_hash()
945 int digest_hash_len = hash_digest_size[ima_hash_algo]; in process_buffer_measurement()
983 iint.ima_hash->algo = ima_hash_algo; in process_buffer_measurement()
984 iint.ima_hash->length = hash_digest_size[ima_hash_algo]; in process_buffer_measurement()
1101 if (error && strcmp(hash_algo_name[ima_hash_algo], in init_ima()
1104 hash_algo_name[ima_hash_algo], CONFIG_IMA_DEFAULT_HASH); in init_ima()