diff options
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
-rw-r--r-- | firmware/2lib/include/2return_codes.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h index 90b7246d..20a7947c 100644 --- a/firmware/2lib/include/2return_codes.h +++ b/firmware/2lib/include/2return_codes.h @@ -273,8 +273,8 @@ enum vb2_return_code { /* Signature signed wrong amount of data */ VB2_ERROR_KEYBLOCK_SIGNED_SIZE, - /* No signature matching key GUID */ - VB2_ERROR_KEYBLOCK_SIG_GUID, + /* No signature matching key ID */ + VB2_ERROR_KEYBLOCK_SIG_ID, /********************************************************************** * Preamble verification errors (all in vb2_verify_preamble()) @@ -424,7 +424,7 @@ enum vb2_return_code { VB2_ERROR_API_PHASE1_RECOVERY, /* Bad tag in vb2api_check_hash() */ - VB2_ERROR_API_INIT_HASH_GUID, + VB2_ERROR_API_INIT_HASH_ID, /* Signature mismatch in vb2api_check_hash() */ VB2_ERROR_API_CHECK_HASH_SIG, @@ -490,11 +490,8 @@ enum vb2_return_code { /* Unable to write data in write_file() */ VB2_ERROR_WRITE_FILE_DATA, - /* Unable to convert string to struct vb_guid */ - VB2_ERROR_STR_TO_GUID, - - /* Unable to convert struct vb_guid to string */ - VB2_ERROR_GUID_TO_STR, + /* Unable to convert string to struct vb_id */ + VB2_ERROR_STR_TO_ID, /********************************************************************** * Errors generated by host library key functions |