Lines Matching refs:data
214 uint8_t type, struct evm_digest *data) in evm_calc_hmac_or_hash() argument
229 desc = init_desc(type, data->hdr.algo); in evm_calc_hmac_or_hash()
233 data->hdr.length = crypto_shash_digestsize(desc->tfm); in evm_calc_hmac_or_hash()
296 hmac_add_misc(desc, inode, type, data->digest); in evm_calc_hmac_or_hash()
309 struct evm_digest *data) in evm_calc_hmac() argument
312 req_xattr_value_len, EVM_XATTR_HMAC, data); in evm_calc_hmac()
317 char type, struct evm_digest *data) in evm_calc_hash() argument
320 req_xattr_value_len, type, data); in evm_calc_hash()
360 struct evm_digest data; in evm_update_evmxattr() local
373 data.hdr.algo = HASH_ALGO_SHA1; in evm_update_evmxattr()
375 xattr_value_len, &data); in evm_update_evmxattr()
377 data.hdr.xattr.sha1.type = EVM_XATTR_HMAC; in evm_update_evmxattr()
380 &data.hdr.xattr.data[1], in evm_update_evmxattr()
419 ekp = evm_key->payload.data[0]; in evm_init_key()