summaryrefslogtreecommitdiff
path: root/host/lib21/include/host_keyblock2.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib21/include/host_keyblock2.h')
-rw-r--r--host/lib21/include/host_keyblock2.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/host/lib21/include/host_keyblock2.h b/host/lib21/include/host_keyblock2.h
index 23d34843..6abfdc98 100644
--- a/host/lib21/include/host_keyblock2.h
+++ b/host/lib21/include/host_keyblock2.h
@@ -8,10 +8,9 @@
#ifndef VBOOT_REFERENCE_HOST_KEYBLOCK2_H_
#define VBOOT_REFERENCE_HOST_KEYBLOCK2_H_
-#include "2struct.h"
-
struct vb2_private_key;
struct vb2_public_key;
+struct vb21_keyblock;
/**
* Create and sign a keyblock.
@@ -26,11 +25,11 @@ struct vb2_public_key;
* taken from the data key.
* @return VB2_SUCCESS, or non-zero error code if failure.
*/
-int vb2_keyblock_create(struct vb2_keyblock **kb_ptr,
- const struct vb2_public_key *data_key,
- const struct vb2_private_key **signing_keys,
- uint32_t signing_key_count,
- uint32_t flags,
- const char *desc);
+int vb21_keyblock_create(struct vb21_keyblock **kb_ptr,
+ const struct vb2_public_key *data_key,
+ const struct vb2_private_key **signing_keys,
+ uint32_t signing_key_count,
+ uint32_t flags,
+ const char *desc);
#endif /* VBOOT_REFERENCE_HOST_KEYBLOCK2_H_ */