commit | 1be65c56c603163b07ebcec3bc88aa7ae0b1bb80 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Mon Jun 14 13:35:49 2021 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Wed Jun 30 16:58:48 2021 -0400 |
tree | 8d679e0e5b30125357510ad81f0795db933493c9 | |
parent | 4e57a54703a5a28681bb86288a971cb83a05359c [diff] |
tcgbios: Use The proper sha function for each PCR bank Instead of just using sha1 for all PCR banks (and truncating the value or zero-padding it) use the proper hash function for each one of the banks. For unimplemented hashes, fill the buffer with 0xff. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>