summaryrefslogtreecommitdiff
path: root/src/security/tpm/tspi
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-06 17:42:45 +0800
committerMartin Roth <martinroth@google.com>2019-08-08 03:20:45 +0000
commit2c469ad79cf02ed5d9e2363cd24ab5f86f71e651 (patch)
tree89578c345d5df0f9041e90037aa14a205c67e6fe /src/security/tpm/tspi
parent564720f2c8b6c37aeceb10bd1a4064165ebdafb0 (diff)
downloadcoreboot-2c469ad79cf02ed5d9e2363cd24ab5f86f71e651.tar.xz
tpm/tspi: include vb2_sha for vb2_get_hash_algorithm_name
BUG=b:124141368 TEST=make clean && make test-abuild BRANCH=none Change-Id: I2e04c16e309d765353f152203a44e90d997394d1 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34742 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/security/tpm/tspi')
-rw-r--r--src/security/tpm/tspi/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/tpm/tspi/log.c b/src/security/tpm/tspi/log.c
index 6ab906710e..4019962a22 100644
--- a/src/security/tpm/tspi/log.c
+++ b/src/security/tpm/tspi/log.c
@@ -22,6 +22,7 @@
#include <security/vboot/symbols.h>
#include <cbmem.h>
#include <bootstate.h>
+#include <vb2_sha.h>
static struct tcpa_table *tcpa_cbmem_init(void)
{