diff options
author | Frans Hendriks <fhendriks@eltan.com> | 2019-06-28 10:18:22 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2019-09-03 23:48:58 +0000 |
commit | 7e220cac2d9a7065442ea0d757e424b17cd06961 (patch) | |
tree | 2aac622ab2f97f44b85d0afbf54126b43885b940 /src/lib/region_file.c | |
parent | 63f73f2a60ab6ed8b45c0e8d3ad985f8fa4184ab (diff) |
security/tpm/tss/tcg-2.0: Use tlcl_get_hash_size_from_algo() for hash size
mashal_TPMT_HA() uses size of SHA-256 hash.
Use tlcll_get_hash_size_from_algo() to determince the hash size.
BUG=N/A
TEST=Build binary and verified logging on Facebook FBG-1701
Change-Id: I739260e13e9cd10a61d52e13e8741b12ec868d7f
Signed-off-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33251
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lance Zhao <lance.zhao@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/lib/region_file.c')
0 files changed, 0 insertions, 0 deletions