summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2struct.h
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-09-04 14:12:42 +0800
committerCommit Bot <commit-bot@chromium.org>2019-10-23 16:28:16 +0000
commitd3b2117f9abe2f7413f6315867ae3c3dbfaf5db1 (patch)
treed25a53c589d3547d25edfc299d68df55cc472652 /firmware/2lib/include/2struct.h
parent53ce884528f734958d4845f6528809957b09934c (diff)
downloadvboot-d3b2117f9abe2f7413f6315867ae3c3dbfaf5db1.tar.gz
vboot: standardize on "keyblock" as one word
Stardardize on inconsistency between "keyblock" and "key block" both in code, comments, and textual output. BUG=b:124141368, chromium:968464 TEST=make clean && make runtests BRANCH=none Change-Id: Ib8819a2426c1179286663f21f0d254f3de9d94a4 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1786385 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2struct.h')
-rw-r--r--firmware/2lib/include/2struct.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/2lib/include/2struct.h b/firmware/2lib/include/2struct.h
index 52d905ae..fafc72b7 100644
--- a/firmware/2lib/include/2struct.h
+++ b/firmware/2lib/include/2struct.h
@@ -21,15 +21,15 @@
#include "2sysincludes.h"
/*
- * Key block flags.
+ * Keyblock flags.
*
*The following flags set where the key is valid. Not used by firmware
* verification; only kernel verification.
*/
-#define VB2_KEY_BLOCK_FLAG_DEVELOPER_0 0x01 /* Developer switch off */
-#define VB2_KEY_BLOCK_FLAG_DEVELOPER_1 0x02 /* Developer switch on */
-#define VB2_KEY_BLOCK_FLAG_RECOVERY_0 0x04 /* Not recovery mode */
-#define VB2_KEY_BLOCK_FLAG_RECOVERY_1 0x08 /* Recovery mode */
+#define VB2_KEYBLOCK_FLAG_DEVELOPER_0 0x01 /* Developer switch off */
+#define VB2_KEYBLOCK_FLAG_DEVELOPER_1 0x02 /* Developer switch on */
+#define VB2_KEYBLOCK_FLAG_RECOVERY_0 0x04 /* Not recovery mode */
+#define VB2_KEYBLOCK_FLAG_RECOVERY_1 0x08 /* Recovery mode */
#define VB2_GBB_HWID_DIGEST_SIZE 32
/****************************************************************************/