Home
last modified time | relevance | path

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

/linux/security/integrity/ima/
H A Dima_init.c51 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in ima_add_boot_aggregate() local
58 iint->ima_hash = hash_hdr; in ima_add_boot_aggregate()
75 result = ima_calc_boot_aggregate(hash_hdr); in ima_add_boot_aggregate()
H A Dima_template_lib.c348 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in ima_eventdigest_init() local
369 result = ima_calc_boot_aggregate(hash_hdr); in ima_eventdigest_init()
379 cur_digest = hash_hdr->digest; in ima_eventdigest_init()
390 result = ima_calc_file_hash(event_data->file, hash_hdr); in ima_eventdigest_init()
397 cur_digest = hash_hdr->digest; in ima_eventdigest_init()
H A Dima_api.c249 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in ima_collect_measurement() local
291 result = ima_calc_buffer_hash(buf, size, hash_hdr); in ima_collect_measurement()
293 result = ima_calc_file_hash(file, hash_hdr); in ima_collect_measurement()
H A Dima_main.c964 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, in process_buffer_measurement() local
1004 iint.ima_hash = hash_hdr; in process_buffer_measurement()
1015 memcpy(digest_hash, hash_hdr->digest, digest_hash_len); in process_buffer_measurement()