diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-02-05 21:05:27 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-02-19 21:01:21 -0500 |
commit | ecd7c5dc0ba6c9226c05fa2394c34ab321e16b88 (patch) | |
tree | fa08b8415756b5b4795837e0c192b442f1e5f419 /scripts | |
parent | 7092de319399d0e2c60b1c5e681e7e923cbcd814 (diff) | |
download | seabios-hppa-ecd7c5dc0ba6c9226c05fa2394c34ab321e16b88.zip seabios-hppa-ecd7c5dc0ba6c9226c05fa2394c34ab321e16b88.tar.gz seabios-hppa-ecd7c5dc0ba6c9226c05fa2394c34ab321e16b88.tar.bz2 |
tpm: Unify tpm_fill_hash()/tpm_log_extend_event() and use in BIOS interface
Don't call tpm_fill_hash() or tpm_log_extend_event() from any internal
code (ie, tpm_add_measurement_to_log). The internal code does not
require the additional checks that these functions provide.
Unify the tpm_fill_hash() and tpm_log_extend_event() into a new
function hash_log_extend(), and use this function only in the 16bit
BIOS interface code. With the code now specific to the BIOS interface
it can more easily return a BIOS specific error return code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions