diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-07-09 11:39:01 -0400 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-07-11 23:46:49 +1000 |
commit | 89509533ace768d593fb4eab4293a2a5e24839ab (patch) | |
tree | 0227289ffc5b2dcdd50a808457ca2d88d72014af /lib/libtpm/sha512.c | |
parent | e1362035a27e4fe3d3a82b70e92f4f2c48a61711 (diff) | |
download | SLOF-89509533ace768d593fb4eab4293a2a5e24839ab.zip SLOF-89509533ace768d593fb4eab4293a2a5e24839ab.tar.gz SLOF-89509533ace768d593fb4eab4293a2a5e24839ab.tar.bz2 |
tcgbios: Use The proper sha function for each PCR bank
Instead of just using sha256 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>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libtpm/sha512.c')
0 files changed, 0 insertions, 0 deletions