Home
last modified time | relevance | path

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

/openbmc/linux/security/integrity/evm/
H A Devm.h49 int evm_protected_xattr(const char *req_xattr_name);
53 const char *req_xattr_name,
56 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name,
59 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name,
H A Devm_crypto.c221 const char *req_xattr_name, in evm_calc_hmac_or_hash() argument
259 if ((req_xattr_name && req_xattr_value) in evm_calc_hmac_or_hash()
260 && !strcmp(xattr->name, req_xattr_name)) { in evm_calc_hmac_or_hash()
267 dump_security_xattr(req_xattr_name, in evm_calc_hmac_or_hash()
306 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac() argument
310 return evm_calc_hmac_or_hash(dentry, req_xattr_name, req_xattr_value, in evm_calc_hmac()
314 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash() argument
318 return evm_calc_hmac_or_hash(dentry, req_xattr_name, req_xattr_value, in evm_calc_hash()
H A Devm_main.c281 static int evm_protected_xattr_common(const char *req_xattr_name, in evm_protected_xattr_common() argument
288 namelen = strlen(req_xattr_name); in evm_protected_xattr_common()
294 && (strncmp(req_xattr_name, xattr->name, namelen) == 0)) { in evm_protected_xattr_common()
298 if (strncmp(req_xattr_name, in evm_protected_xattr_common()
300 strlen(req_xattr_name)) == 0) { in evm_protected_xattr_common()
309 int evm_protected_xattr(const char *req_xattr_name) in evm_protected_xattr() argument
311 return evm_protected_xattr_common(req_xattr_name, false); in evm_protected_xattr()
314 int evm_protected_xattr_if_enabled(const char *req_xattr_name) in evm_protected_xattr_if_enabled() argument
316 return evm_protected_xattr_common(req_xattr_name, true); in evm_protected_xattr_if_enabled()
/openbmc/linux/include/linux/
H A Devm.h65 extern int evm_protected_xattr_if_enabled(const char *req_xattr_name);
180 static inline int evm_protected_xattr_if_enabled(const char *req_xattr_name) in evm_protected_xattr_if_enabled() argument