Home
last modified time | relevance | path

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

/Linux-v5.4/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_hook_supports_modsig - can the policy allow modsig for this hook? argument
61 struct modsig **modsig) in ima_read_modsig()
117 void ima_collect_modsig(struct modsig *modsig, const void *buf, loff_t size) in ima_collect_modsig()
136 int ima_modsig_verify(struct key *keyring, const struct modsig *modsig) in ima_modsig_verify()
142 int ima_get_modsig_digest(const struct modsig *modsig, enum hash_algo *algo, in ima_get_modsig_digest()
152 int ima_get_raw_modsig(const struct modsig *modsig, const void **data, in ima_get_raw_modsig()
161 void ima_free_modsig(struct modsig *modsig) in ima_free_modsig()
Dima.h63 const struct modsig *modsig; member
277 const struct modsig *modsig) in ima_appraise_measurement()
331 loff_t buf_len, struct modsig **modsig) in ima_read_modsig()
336 static inline void ima_collect_modsig(struct modsig *modsig, const void *buf, in ima_collect_modsig()
341 static inline int ima_get_modsig_digest(const struct modsig *modsig, in ima_get_modsig_digest()
348 static inline int ima_get_raw_modsig(const struct modsig *modsig, in ima_get_raw_modsig()
354 static inline void ima_free_modsig(struct modsig *modsig) in ima_free_modsig()
Dima_appraise.c286 static int modsig_verify(enum ima_hooks func, const struct modsig *modsig, in modsig_verify()
318 int xattr_len, const struct modsig *modsig) in ima_appraise_measurement()
Dima_api.c208 enum hash_algo algo, struct modsig *modsig) in ima_collect_measurement()
296 int xattr_len, const struct modsig *modsig, int pcr, in ima_store_measurement()
Dima_main.c205 struct modsig *modsig = NULL; in process_measurement() local
/Linux-v5.4/security/integrity/
Ddigsig.c86 int integrity_modsig_verify(const unsigned int id, const struct modsig *modsig) in integrity_modsig_verify()
Dintegrity.h173 const struct modsig *modsig) in integrity_modsig_verify()
207 const struct modsig *modsig) in ima_modsig_verify()