Home
last modified time | relevance | path

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

/security/integrity/evm/
Devm_crypto.c329 int evm_init_hmac(struct inode *inode, const struct xattr *lsm_xattr, in evm_init_hmac() argument
340 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
Devm_main.c476 const struct xattr *lsm_xattr, in evm_inode_init_security() argument
482 if (!evm_initialized || !evm_protected_xattr(lsm_xattr->name)) in evm_inode_init_security()
490 rc = evm_init_hmac(inode, lsm_xattr, xattr_data->digest); in evm_inode_init_security()
/security/
Dsecurity.c471 struct xattr *lsm_xattr, *evm_xattr, *xattr; in security_inode_init_security() local
481 lsm_xattr = new_xattrs; in security_inode_init_security()
483 &lsm_xattr->name, in security_inode_init_security()
484 &lsm_xattr->value, in security_inode_init_security()
485 &lsm_xattr->value_len); in security_inode_init_security()
489 evm_xattr = lsm_xattr + 1; in security_inode_init_security()
490 ret = evm_inode_init_security(inode, lsm_xattr, evm_xattr); in security_inode_init_security()