Home
last modified time | relevance | path

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

/security/integrity/evm/
Devm_crypto.c217 int evm_init_hmac(struct inode *inode, const struct xattr *lsm_xattr, in evm_init_hmac() argument
228 crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len); in evm_init_hmac()
Devm_main.c388 const struct xattr *lsm_xattr, in evm_inode_init_security() argument
394 if (!evm_initialized || !evm_protected_xattr(lsm_xattr->name)) in evm_inode_init_security()
402 rc = evm_init_hmac(inode, lsm_xattr, xattr_data->digest); in evm_inode_init_security()
/security/
Dsecurity.c352 struct xattr *lsm_xattr, *evm_xattr, *xattr; in security_inode_init_security() local
362 lsm_xattr = new_xattrs; in security_inode_init_security()
364 &lsm_xattr->name, in security_inode_init_security()
365 &lsm_xattr->value, in security_inode_init_security()
366 &lsm_xattr->value_len); in security_inode_init_security()
370 evm_xattr = lsm_xattr + 1; in security_inode_init_security()
371 ret = evm_inode_init_security(inode, lsm_xattr, evm_xattr); in security_inode_init_security()