summaryrefslogtreecommitdiff
path: root/src/vboot/secdata_mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot/secdata_mock.c')
-rw-r--r--src/vboot/secdata_mock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vboot/secdata_mock.c b/src/vboot/secdata_mock.c
index b53a1969ca..72ee5b3c11 100644
--- a/src/vboot/secdata_mock.c
+++ b/src/vboot/secdata_mock.c
@@ -34,6 +34,7 @@
#include <antirollback.h>
#include <stdlib.h>
+#include <tpm_lite/tlcl.h>
#include <vb2_api.h>
uint32_t tpm_extend_pcr(struct vb2_context *ctx, int pcr,
@@ -77,3 +78,8 @@ uint32_t antirollback_write_space_rec_hash(const uint8_t *data, uint32_t size)
{
return TPM_SUCCESS;
}
+
+uint32_t tlcl_lib_init(void)
+{
+ return VB2_SUCCESS;
+}