summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2common.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2014-11-06 11:27:46 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-06 22:17:49 +0000
commitfe21172cc315b6249e78ee8bc17d1470e8b6b02b (patch)
tree6387e0bd1bf5a75d7c87c8605d0c452921294194 /firmware/2lib/include/2common.h
parenta063a43ad776c9831051e62565c0136ce36d0b09 (diff)
downloadvboot-release-R40-6457.B.tar.gz
vboot2: Change preamble to contain a list of signaturesrelease-R40-6457.Bfactory-auron-6459.B
Use struct vb2_signature2 objects to hold the hashes of firmware components, rather than a separate vb2_fw_preamble2_hash struct. Better for code reuse. BUG=chromium:423882 BRANCH=none TEST=VBOOT2=1 make runtests Change-Id: Ia9e23c1488a884f2d6fab4c4be51b25d3ff25c2f Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/228241 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2common.h')
-rw-r--r--firmware/2lib/include/2common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/2lib/include/2common.h b/firmware/2lib/include/2common.h
index e0b252b3..0f7012cb 100644
--- a/firmware/2lib/include/2common.h
+++ b/firmware/2lib/include/2common.h
@@ -299,10 +299,10 @@ uint32_t vb2_sig_size(enum vb2_signature_algorithm sig_alg,
enum vb2_hash_algorithm hash_alg);
/**
- * Return a key_guid for an unsigned hash algorithm.
+ * Return a key guid for an unsigned hash algorithm.
*
* @param hash_alg Hash algorithm to return key for
- * @return A pointer to the key_guid for that hash algorithm and
+ * @return A pointer to the key guid for that hash algorithm and
* sig_alg=VB2_SIG_NONE, or NULL if error.
*/
const struct vb2_guid *vb2_hash_guid(enum vb2_hash_algorithm hash_alg);