summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2016-06-22 16:46:23 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-10 15:30:35 -0700
commitd46461cec2aa7547b3722623b85dcfb2f298f859 (patch)
tree11b05a5b426a2608d38ae19d28a0e9af70b9ec64 /firmware/2lib/include/2return_codes.h
parent939cc3a5c25a3333fadafc7fc341d7e320f72fab (diff)
downloadvboot-d46461cec2aa7547b3722623b85dcfb2f298f859.tar.gz
futility: Use vboot 2.0 APIs for private keys
This replaces calls to the vboot 1 host library with their vboot 2.0 equivalents. BUG=chromium:611535 BRANCH=none TEST=make runtests Change-Id: Id061554fd82ea3efe35d0fe1485693b47599a863 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/356540 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index b6979922..e0bc6f22 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -673,6 +673,9 @@ enum vb2_return_code {
/* Bad key size in vb2_copy_packed_key() */
VB2_ERROR_COPY_KEY_SIZE,
+ /* Unable to convert back to vb1 crypto algorithm */
+ VB2_ERROR_VB1_CRYPTO_ALGORITHM,
+
/**********************************************************************
* Errors generated by host library signature functions
*/