diff options
| author | Roberto Sassu <[email protected]> | 2017-05-16 12:53:42 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2017-06-21 18:37:12 +0000 |
| commit | 47fdee60b47fc2836b256761ab60ada26788b323 (patch) | |
| tree | fb700aa9baec452a54fd4a68c7a9f7f9b4ceed70 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | ima: introduce ima_parse_buf() (diff) | |
| download | kernel-47fdee60b47fc2836b256761ab60ada26788b323.tar.gz kernel-47fdee60b47fc2836b256761ab60ada26788b323.zip | |
ima: use ima_parse_buf() to parse measurements headers
The binary_hdr_v1 and binary_data_v1 structures defined in
ima_restore_measurement_list() have been replaced with an array of four
ima_field_data structures where pcr, digest, template name and
template data lengths and pointers are stored.
The length of pcr and digest in the ima_field_data array and the bits
in the bitmap are set before ima_parse_buf() is called. The ENFORCE_FIELDS
bit is set for all entries except the last one (there is still data to
parse), and ENFORCE_BUFEND is set only for the last entry.
Signed-off-by: Roberto Sassu <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
