mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-26 19:25:02 +00:00
vboot2: load keyblock and preamble from new-style structs
And associated unit tests. BUG=chromium:423882 BRANCH=none TEST=VBOOT2=1 make runtests Change-Id: I6565d8f5da947b4874a656a61051df1a4ce415c7 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/229163 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
6ee52d9a92
commit
837b408c92
@@ -130,6 +130,11 @@ int vb2_select_fw_slot(struct vb2_context *ctx);
|
||||
*/
|
||||
int vb2_load_fw_keyblock(struct vb2_context *ctx);
|
||||
|
||||
/**
|
||||
* (same, for new-style structs)
|
||||
*/
|
||||
int vb2_load_fw_keyblock2(struct vb2_context *ctx);
|
||||
|
||||
/**
|
||||
* Verify the firmware preamble using the data subkey from the keyblock.
|
||||
*
|
||||
@@ -140,4 +145,9 @@ int vb2_load_fw_keyblock(struct vb2_context *ctx);
|
||||
*/
|
||||
int vb2_load_fw_preamble(struct vb2_context *ctx);
|
||||
|
||||
/**
|
||||
* (same, for new-style structs)
|
||||
*/
|
||||
int vb2_load_fw_preamble2(struct vb2_context *ctx);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2MISC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user