diff options
author | Joel Kitching <kitching@google.com> | 2019-06-11 16:27:08 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-13 19:45:59 +0000 |
commit | d15663d4f594e2c82ec73570b2a6772e719c0c3f (patch) | |
tree | 5122a60b34ae4a0fd53f93df6f74318195a8f541 /firmware/2lib/include/2return_codes.h | |
parent | 70b3753d22dc0a1fead6f1cb65bc6e69e29a771e (diff) | |
download | vboot-d15663d4f594e2c82ec73570b2a6772e719c0c3f.tar.gz |
vboot: expose vb2api_secdatak_check and vb2api_secdatak_create
Previously vb2api_secdatak_check and vb2api_secdatak_create had
headers in 2api.h, but no definitions.
Merge identical internal/external functions:
vb2api_secdata_create, vb2_secdata_create_crc
vb2api_secdata_check, vb2_secdata_check_crc
vb2api_secdatak_create, vb2_secdatak_create_crc
vb2api_secdatak_check, vb2_secdatak_check_crc
BUG=b:124141368, chromium:972956
TEST=make clean && make runtests
BRANCH=none
Change-Id: I64a14d65e5d856ca0f819ef3ded50b4719abc8b3
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1652874
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r-- | firmware/2lib/include/2return_codes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h index 15ec97f6..5126555b 100644 --- a/firmware/2lib/include/2return_codes.h +++ b/firmware/2lib/include/2return_codes.h @@ -90,10 +90,10 @@ enum vb2_return_code { */ VB2_ERROR_SECDATA = VB2_ERROR_BASE + 0x040000, - /* Bad CRC in vb2_secdata_check_crc() */ + /* Bad CRC in vb2api_secdata_check() */ VB2_ERROR_SECDATA_CRC, - /* Secdata is all zeroes (uninitialized) in vb2_secdata_check_crc() */ + /* Secdata is all zeroes (uninitialized) in vb2api_secdata_check() */ VB2_ERROR_SECDATA_ZERO, /* Invalid param in vb2_secdata_get() */ @@ -111,7 +111,7 @@ enum vb2_return_code { /* Called vb2_secdata_set() with uninitialized secdata */ VB2_ERROR_SECDATA_SET_UNINITIALIZED, - /* Bad CRC in vb2_secdatak_check_crc() */ + /* Bad CRC in vb2api_secdatak_check() */ VB2_ERROR_SECDATAK_CRC, /* Bad struct version in vb2_secdatak_init() */ |