Home
last modified time | relevance | path

Searched refs:lsm_xattr (Results 1 – 3 of 3) sorted by relevance

/security/integrity/evm/
Devm_crypto.c333 int evm_init_hmac(struct inode *inode, const struct xattr *lsm_xattr, in evm_init_hmac() argument
344 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
Devm_main.c521 const struct xattr *lsm_xattr, in evm_inode_init_security() argument
527 if (!evm_key_loaded() || !evm_protected_xattr(lsm_xattr->name)) in evm_inode_init_security()
535 rc = evm_init_hmac(inode, lsm_xattr, xattr_data->digest); in evm_inode_init_security()
/security/
Dsecurity.c974 struct xattr *lsm_xattr, *evm_xattr, *xattr; in security_inode_init_security() local
984 lsm_xattr = new_xattrs; in security_inode_init_security()
986 &lsm_xattr->name, in security_inode_init_security()
987 &lsm_xattr->value, in security_inode_init_security()
988 &lsm_xattr->value_len); in security_inode_init_security()
992 evm_xattr = lsm_xattr + 1; in security_inode_init_security()
993 ret = evm_inode_init_security(inode, lsm_xattr, evm_xattr); in security_inode_init_security()