summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2return_codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r--firmware/2lib/include/2return_codes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 848636ac..40a4c284 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -502,6 +502,24 @@ enum vb2_return_code {
/* Buffer size for the digest is too small for vb2api_get_pcr_digest */
VB2_ERROR_API_PCR_DIGEST_BUF,
+ /* Work buffer too small for recovery key in vb2api_kernel_phase1() */
+ VB2_ERROR_API_KPHASE1_WORKBUF_REC_KEY,
+
+ /* Firmware preamble not present for vb2api_kernel_phase1() */
+ VB2_ERROR_API_KPHASE1_PREAMBLE,
+
+ /* Wrong amount of kernel data in vb2api_verify_kernel_data() */
+ VB2_ERROR_API_VERIFY_KDATA_SIZE,
+
+ /* Kernel preamble not present for vb2api_verify_kernel_data() */
+ VB2_ERROR_API_VERIFY_KDATA_PREAMBLE,
+
+ /* Insufficient workbuf for hashing in vb2api_verify_kernel_data() */
+ VB2_ERROR_API_VERIFY_KDATA_WORKBUF,
+
+ /* Bad data key in vb2api_verify_kernel_data() */
+ VB2_ERROR_API_VERIFY_KDATA_KEY,
+
/**********************************************************************
* Errors which may be generated by implementations of vb2ex functions.
* Implementation may also return its own specific errors, which should