Home
last modified time | relevance | path

Searched defs:modsig (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/security/integrity/ima/
Dima_modsig.c18 struct modsig { struct
23 /* This digest will go in the 'd-modsig' field of the IMA template. */ argument
36 * ima_read_modsig - Read modsig from buf. argument
41 struct modsig **modsig) in ima_read_modsig()
97 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
116 int ima_modsig_verify(struct key *keyring, const struct modsig *modsig) in ima_modsig_verify()
122 int ima_get_modsig_digest(const struct modsig *modsig, enum hash_algo *algo, in ima_get_modsig_digest()
132 int ima_get_raw_modsig(const struct modsig *modsig, const void **data, in ima_get_raw_modsig()
141 void ima_free_modsig(struct modsig *modsig) in ima_free_modsig()
Dima.h68 const struct modsig *modsig; member
333 const struct modsig *modsig, int pcr) in ima_check_blacklist()
344 const struct modsig *modsig) in ima_appraise_measurement()
393 loff_t buf_len, struct modsig **modsig) in ima_read_modsig()
398 static inline void ima_collect_modsig(struct modsig *modsig, const void *buf, in ima_collect_modsig()
403 static inline int ima_get_modsig_digest(const struct modsig *modsig, in ima_get_modsig_digest()
410 static inline int ima_get_raw_modsig(const struct modsig *modsig, in ima_get_raw_modsig()
416 static inline void ima_free_modsig(struct modsig *modsig) in ima_free_modsig()
Dima_appraise.c415 static int modsig_verify(enum ima_hooks func, const struct modsig *modsig, in modsig_verify()
444 const struct modsig *modsig, int pcr) in ima_check_blacklist()
479 int xattr_len, const struct modsig *modsig) in ima_appraise_measurement()
Dima_api.c242 enum hash_algo algo, struct modsig *modsig) in ima_collect_measurement()
342 int xattr_len, const struct modsig *modsig, int pcr, in ima_store_measurement()
Dima_main.c214 struct modsig *modsig = NULL; in process_measurement() local
/Linux-v6.1/security/integrity/
Ddigsig.c87 int integrity_modsig_verify(const unsigned int id, const struct modsig *modsig) in integrity_modsig_verify()
Dintegrity.h214 const struct modsig *modsig) in integrity_modsig_verify()
248 const struct modsig *modsig) in ima_modsig_verify()