summaryrefslogtreecommitdiff
path: root/firmware/2lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include')
-rw-r--r--firmware/2lib/include/2return_codes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index cd8cc270..671e3d27 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -341,6 +341,12 @@ enum vb2_return_code {
/* Hash is signed */
VB2_ERROR_PREAMBLE_HASH_SIGNED,
+ /* Bootloader outside signed portion of body */
+ VB2_ERROR_PREAMBLE_BOOTLOADER_OUTSIDE,
+
+ /* Vmlinuz header outside signed portion of body */
+ VB2_ERROR_PREAMBLE_VMLINUZ_HEADER_OUTSIDE,
+
/**********************************************************************
* Misc higher-level code errors
*/