diff options
Diffstat (limited to 'firmware/2lib/include/2misc.h')
-rw-r--r-- | firmware/2lib/include/2misc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/2lib/include/2misc.h b/firmware/2lib/include/2misc.h index 34d6fb82..5e3363cb 100644 --- a/firmware/2lib/include/2misc.h +++ b/firmware/2lib/include/2misc.h @@ -151,4 +151,14 @@ int vb2_load_fw_preamble(struct vb2_context *ctx); */ int vb2_load_kernel_keyblock(struct vb2_context *ctx); +/** + * Verify the kernel preamble using the data subkey from the keyblock. + * + * After this call, the preamble is stored in the work buffer. + * + * @param ctx Vboot context + * @return VB2_SUCCESS, or error code on error. + */ +int vb2_load_kernel_preamble(struct vb2_context *ctx); + #endif /* VBOOT_REFERENCE_VBOOT_2MISC_H_ */ |