diff options
Diffstat (limited to 'firmware/2lib/include/2api.h')
-rw-r--r-- | firmware/2lib/include/2api.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h index 709db48b..e4c6ad0c 100644 --- a/firmware/2lib/include/2api.h +++ b/firmware/2lib/include/2api.h @@ -460,6 +460,11 @@ int vb2api_fw_phase2(struct vb2_context *ctx); int vb2api_fw_phase3(struct vb2_context *ctx); /** + * Same, but for new-style structs. + */ +int vb21api_fw_phase3(struct vb2_context *ctx); + +/** * Initialize hashing data for the specified tag. * * @param ctx Vboot context @@ -473,7 +478,7 @@ int vb2api_init_hash(struct vb2_context *ctx, uint32_t tag, uint32_t *size); /** * Same, but for new-style structs. */ -int vb2api_init_hash2(struct vb2_context *ctx, +int vb21api_init_hash(struct vb2_context *ctx, const struct vb2_id *id, uint32_t *size); @@ -500,6 +505,11 @@ int vb2api_extend_hash(struct vb2_context *ctx, int vb2api_check_hash(struct vb2_context *ctx); /** + * Same, but for new-style structs. + */ +int vb21api_check_hash(struct vb2_context *ctx); + +/** * Check the hash value started by vb2api_init_hash() while retrieving * calculated digest. * @@ -509,7 +519,7 @@ int vb2api_check_hash(struct vb2_context *ctx); * @return VB2_SUCCESS, or error code on error. */ int vb2api_check_hash_get_digest(struct vb2_context *ctx, void *digest_out, - uint32_t digest_out_size); + uint32_t digest_out_size); /** * Get a PCR digest |