diff options
Diffstat (limited to 'firmware/lib21/include')
-rw-r--r-- | firmware/lib21/include/vb21_common.h | 6 | ||||
-rw-r--r-- | firmware/lib21/include/vb21_struct.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/firmware/lib21/include/vb21_common.h b/firmware/lib21/include/vb21_common.h index 7ca5b4f5..6362a150 100644 --- a/firmware/lib21/include/vb21_common.h +++ b/firmware/lib21/include/vb21_common.h @@ -145,13 +145,13 @@ vb2_error_t vb21_verify_data(const void *data, uint32_t size, const struct vb2_workbuf *wb); /** - * Check the sanity of a key block using a public key. + * Check the sanity of a keyblock using a public key. * * Header fields are also checked for sanity. Does not verify key index or key * block flags. Signature inside block is destroyed during check. * - * @param block Key block to verify - * @param size Size of key block buffer + * @param block Keyblock to verify + * @param size Size of keyblock buffer * @param key Key to use to verify block * @param wb Work buffer * @return VB2_SUCCESS, or non-zero error code if error. diff --git a/firmware/lib21/include/vb21_struct.h b/firmware/lib21/include/vb21_struct.h index 5bb2b63e..18cfb8dd 100644 --- a/firmware/lib21/include/vb21_struct.h +++ b/firmware/lib21/include/vb21_struct.h @@ -242,10 +242,10 @@ struct vb21_signature { #define VB21_KEYBLOCK_VERSION_MINOR 0 /* - * Key block. This contains a signed, versioned key for use in the next stage + * Keyblock. This contains a signed, versioned key for use in the next stage * of verified boot. * - * The key block data must be arranged like this: + * The keyblock data must be arranged like this: * 1) vb21_keyblock header struct h * 2) Keyblock description (pointed to by h.c.fixed_size) * 3) Data key (pointed to by h.data_key_offset) @@ -258,7 +258,7 @@ struct vb21_keyblock { /* Common header fields */ struct vb21_struct_common c; - /* Flags (VB2_KEY_BLOCK_FLAG_*) */ + /* Flags (VB2_KEYBLOCK_FLAG_*) */ uint32_t flags; /* |