Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\evm\evm_crypto.c Create Date:2022-07-28 20:00:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:evm_calc_hmac

Proto:int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, const char *req_xattr_value, size_t req_xattr_value_len, struct evm_digest *data)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
const char *req_xattr_name
const char *req_xattr_value
size_treq_xattr_value_len
struct evm_digest *data
257  Return Calculate the HMAC value across the set of protected security xattrs.* Instead of retrieving the requested xattr, for performance, calculate* the hmac using the requested xattr value. Don't alloc/free memory for
Caller
NameDescribe
evm_update_evmxattrCalculate the hmac and update security.evm xattr* Expects to be called with i_mutex locked.