summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-20 15:00:40 +0800
committerCommit Bot <commit-bot@chromium.org>2019-08-28 07:32:02 +0000
commit0ff87642e865fca49fa9584cffa1b0c4810adced (patch)
treed8c72d0c1a816bab362132930228751cd77a4be9 /firmware/2lib/include/2return_codes.h
parent4539726499d6ee43077918eee3e1768040b45983 (diff)
downloadvboot-0ff87642e865fca49fa9584cffa1b0c4810adced.tar.gz
vboot/secdata: fix up 2secdata{,k} and tests
These are not yet used in production and need some fixing up first. BUG=b:124141368, chromium:972956 TEST=make clean && make runtests BRANCH=none Change-Id: Ifbd0e761cc5bc05437bfed774fb15d5e8ef1b8e7 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758149 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/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 4aa3f5dd..68edff38 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -155,8 +155,8 @@ enum vb2_return_code {
/* Bad CRC in vb2api_secdata_check() */
VB2_ERROR_SECDATA_CRC,
- /* Secdata is all zeroes (uninitialized) in vb2api_secdata_check() */
- VB2_ERROR_SECDATA_ZERO,
+ /* Bad struct version in vb2_secdata_check() */
+ VB2_ERROR_SECDATA_VERSION,
/* Invalid param in vb2_secdata_get() */
VB2_ERROR_SECDATA_GET_PARAM,