Home
last modified time | relevance | path

Searched refs:allowed_algos (Results 1 – 4 of 4) sorted by relevance

/linux/security/integrity/ima/
H A Dima_policy.c119 unsigned int allowed_algos; /* bitfield of allowed hash algorithms */
138 "The bitfield allowed_algos in ima_rule_entry is too small to contain all the supported hash algorithms, consider using a bigger type");
751 * @allowed_algos: allowlist of hash algorithms for the IMA xattr
764 const char *func_data, unsigned int *allowed_algos) in ima_match_policy()
793 if (allowed_algos && in ima_match_policy()
795 *allowed_algos = entry->allowed_algos; in ima_match_policy()
855 0, entry->allowed_algos); in ima_update_policy_flags()
1883 if (entry->allowed_algos) { in ima_parse_rule()
1888 entry->allowed_algos in ima_parse_rule()
117 unsigned int allowed_algos; /* bitfield of allowed hash algorithms */ global() member
756 ima_match_policy(struct mnt_idmap * idmap,struct inode * inode,const struct cred * cred,struct lsm_prop * prop,enum ima_hooks func,int mask,int flags,int * pcr,struct ima_template_desc ** template_desc,const char * func_data,unsigned int * allowed_algos) ima_match_policy() argument
[all...]
H A Dima_api.c177 * @allowed_algos: allowlist of hash algorithms for the IMA xattr
195 const char *func_data, unsigned int *allowed_algos) in ima_get_action() argument
203 allowed_algos); in ima_get_action()
H A Dima_main.c274 unsigned int allowed_algos = 0; in process_measurement() local
285 &allowed_algos); in process_measurement()
463 if (rc == 0 && must_appraise && allowed_algos != 0 && in process_measurement()
464 (allowed_algos & (1U << hash_algo)) == 0) { in process_measurement()
H A Dima.h430 const char *func_data, unsigned int *allowed_algos);
461 const char *func_data, unsigned int *allowed_algos); in ima_appraise_measurement()