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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index 865ea7cf..bc612344 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -197,6 +197,18 @@ enum vb2_return_code {
/* Called vb2_secdata_kernel_set() with uninitialized secdata_kernel */
VB2_ERROR_SECDATA_KERNEL_SET_UNINITIALIZED,
+ /* Bad size in vb2api_secdata_fwmp_check() */
+ VB2_ERROR_SECDATA_FWMP_SIZE,
+
+ /* Incomplete structure in vb2api_secdata_fwmp_check() */
+ VB2_ERROR_SECDATA_FWMP_INCOMPLETE,
+
+ /* Bad CRC in vb2api_secdata_fwmp_check() */
+ VB2_ERROR_SECDATA_FWMP_CRC,
+
+ /* Bad struct version in vb2_secdata_fwmp_check() */
+ VB2_ERROR_SECDATA_FWMP_VERSION,
+
/**********************************************************************
* Common code errors
*/