summaryrefslogtreecommitdiff
path: root/host/lib21/include/host_fw_preamble2.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib21/include/host_fw_preamble2.h')
-rw-r--r--host/lib21/include/host_fw_preamble2.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/host/lib21/include/host_fw_preamble2.h b/host/lib21/include/host_fw_preamble2.h
index 9723441f..e759edc5 100644
--- a/host/lib21/include/host_fw_preamble2.h
+++ b/host/lib21/include/host_fw_preamble2.h
@@ -8,10 +8,9 @@
#ifndef VBOOT_REFERENCE_HOST_FW_PREAMBLE2_H_
#define VBOOT_REFERENCE_HOST_FW_PREAMBLE2_H_
-#include "vb2_struct.h"
-
struct vb2_private_key;
-
+struct vb21_fw_preamble;
+struct vb21_signature;
/**
* Create and sign a firmware preamble.
*
@@ -25,12 +24,12 @@ struct vb2_private_key;
* @param desc Description for preamble, or NULL if none
* @return VB2_SUCCESS, or non-zero error code if failure.
*/
-int vb2_fw_preamble_create(struct vb2_fw_preamble **fp_ptr,
- const struct vb2_private_key *signing_key,
- const struct vb2_signature **hash_list,
- uint32_t hash_count,
- uint32_t fw_version,
- uint32_t flags,
- const char *desc);
+int vb21_fw_preamble_create(struct vb21_fw_preamble **fp_ptr,
+ const struct vb2_private_key *signing_key,
+ const struct vb21_signature **hash_list,
+ uint32_t hash_count,
+ uint32_t fw_version,
+ uint32_t flags,
+ const char *desc);
#endif /* VBOOT_REFERENCE_HOST_FW_PREAMBLE2_H_ */