Home
last modified time | relevance | path

Searched refs:hash_hdr (Results 1 – 7 of 7) sorted by relevance

/linux/security/integrity/ima/
H A Dima_template_lib.c348 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in ima_eventdigest_init() local
370 result = ima_calc_boot_aggregate(hash_hdr); in ima_eventdigest_init()
380 cur_digest = hash_hdr->digest; in ima_eventdigest_init()
391 result = ima_calc_file_hash(event_data->file, hash_hdr); in ima_eventdigest_init()
398 cur_digest = hash_hdr->digest; in ima_eventdigest_init()
H A Dima_api.c251 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in ima_collect_measurement() local
298 result = ima_calc_buffer_hash(buf, size, hash_hdr); in ima_collect_measurement()
300 result = ima_calc_file_hash(file, hash_hdr); in ima_collect_measurement()
H A Dima_main.c1114 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in process_buffer_measurement() local
1154 iint.ima_hash = hash_hdr; in process_buffer_measurement()
1165 memcpy(digest_hash, hash_hdr->digest, digest_hash_len); in process_buffer_measurement()
/linux/drivers/net/
H A Dtun_vnet.h248 struct virtio_net_hdr_v1 *hdr = &tnl_hdr->hash_hdr.hdr; in tun_vnet_hdr_tnl_from_skb()
H A Dvirtio_net.c3294 BUILD_BUG_ON(__alignof__(*hdr) != __alignof__(hdr->hash_hdr)); in xmit_skb()
3295 BUILD_BUG_ON(__alignof__(*hdr) != __alignof__(hdr->hash_hdr.hdr)); in xmit_skb()
3314 hdr->hash_hdr.hdr.num_buffers = 0; in xmit_skb()
/linux/include/uapi/linux/
H A Dvirtio_net.h213 struct virtio_net_hdr_v1_hash hash_hdr; member
/linux/tools/testing/selftests/net/
H A Dtun.c954 struct virtio_net_hdr_v1 *vh = &vnet_hdr.hash_hdr.hdr; in TEST_F()