summaryrefslogtreecommitdiff
path: root/firmware/lib/tpm2_lite/tlcl.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2020-03-16 16:20:02 +0800
committerCommit Bot <commit-bot@chromium.org>2020-03-31 10:36:57 +0000
commit02f45f51a7e80bf7e62c3fa0926c3e30ccd7124d (patch)
tree655a4ea39d2f2485c369d6175476858d9fac88b8 /firmware/lib/tpm2_lite/tlcl.c
parente3f71c97d05f5c659a0c2a2186dc62dd0586407f (diff)
downloadvboot-02f45f51a7e80bf7e62c3fa0926c3e30ccd7124d.tar.gz
vboot: stop using StrnAppend and Uint64ToString
Use snprintf instead. Remove utility_string library. Also, prepare VbDisplayDebugInfo to handle 64-byte nvdata. BUG=b:124141368, chromium:968464 TEST=make clean && make runtests TEST=boot with 16-byte nvdata, check <TAB> output (one line) TEST=boot with 64-byte nvdata, check <TAB> output (five lines) BRANCH=none Change-Id: If6c4b3a4e9fa7b71cb2d8ca7ccd37e4f36b97fd6 Signed-off-by: Joel Kitching <kitching@google.com> Cq-Depend: chromium:2122061 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2104880 Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/lib/tpm2_lite/tlcl.c')
-rw-r--r--firmware/lib/tpm2_lite/tlcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/tpm2_lite/tlcl.c b/firmware/lib/tpm2_lite/tlcl.c
index dca8facc..9bacbb6b 100644
--- a/firmware/lib/tpm2_lite/tlcl.c
+++ b/firmware/lib/tpm2_lite/tlcl.c
@@ -10,7 +10,7 @@
#include "2sysincludes.h"
#include "tlcl.h"
#include "tpm2_marshaling.h"
-#include "utility.h"
+#include "vboot_api.h"
/*
* TODO(chromium:1032930): Originally accessed by including secdata_tpm.h.