diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2013-03-11 20:29:47 -0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2013-10-25 17:17:00 -0400 |
commit | 140d802240a4ba3351494b4ab199964b96f87493 (patch) | |
tree | 0fa711063f82e868ef589165e89e7b2298b60025 /firmware/ositech | |
parent | a35c3fb6490cc1d3446e4781693408100113c4fb (diff) | |
download | blackbird-op-linux-140d802240a4ba3351494b4ab199964b96f87493.tar.gz blackbird-op-linux-140d802240a4ba3351494b4ab199964b96f87493.zip |
ima: differentiate between template hash and file data hash sizes
The TPM v1.2 limits the template hash size to 20 bytes. This
patch differentiates between the template hash size, as defined
in the ima_template_entry, and the file data hash size, as
defined in the ima_template_data. Subsequent patches add support
for different file data hash algorithms.
Change log:
- hash digest definition in ima_store_template() should be TPM_DIGEST_SIZE
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Diffstat (limited to 'firmware/ositech')
0 files changed, 0 insertions, 0 deletions