Lines Matching refs:iint
199 int ima_eventdigest_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventdigest_init() argument
215 if (!iint) /* recording a violation. */ in ima_eventdigest_init()
218 if (ima_template_hash_algo_allowed(iint->ima_hash->algo)) { in ima_eventdigest_init()
219 cur_digest = iint->ima_hash->digest; in ima_eventdigest_init()
220 cur_digestsize = iint->ima_hash->length; in ima_eventdigest_init()
247 int ima_eventdigest_ng_init(struct integrity_iint_cache *iint, in ima_eventdigest_ng_init() argument
256 if (!iint) in ima_eventdigest_ng_init()
259 cur_digest = iint->ima_hash->digest; in ima_eventdigest_ng_init()
260 cur_digestsize = iint->ima_hash->length; in ima_eventdigest_ng_init()
262 hash_algo = iint->ima_hash->algo; in ima_eventdigest_ng_init()
268 static int ima_eventname_init_common(struct integrity_iint_cache *iint, in ima_eventname_init_common() argument
304 int ima_eventname_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventname_init() argument
309 return ima_eventname_init_common(iint, file, filename, in ima_eventname_init()
316 int ima_eventname_ng_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventname_ng_init() argument
321 return ima_eventname_init_common(iint, file, filename, in ima_eventname_ng_init()
328 int ima_eventsig_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventsig_init() argument