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.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/host/lib21/include/host_keyblock2.h b/host/lib21/include/host_keyblock2.h
index 6abfdc98..faa51d26 100644
--- a/host/lib21/include/host_keyblock2.h
+++ b/host/lib21/include/host_keyblock2.h
@@ -25,11 +25,10 @@ struct vb21_keyblock;
* taken from the data key.
* @return VB2_SUCCESS, or non-zero error code if failure.
*/
-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);
+vb2_error_t 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_ */