summaryrefslogtreecommitdiff
path: root/firmware/lib/include/vboot_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/include/vboot_test.h')
-rw-r--r--firmware/lib/include/vboot_test.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/lib/include/vboot_test.h b/firmware/lib/include/vboot_test.h
index 1f0a6629..35a3451a 100644
--- a/firmware/lib/include/vboot_test.h
+++ b/firmware/lib/include/vboot_test.h
@@ -29,4 +29,15 @@ vb2_error_t vb2_check_padding(const uint8_t *sig,
struct LoadKernelParams;
struct LoadKernelParams *VbApiKernelGetParams(void);
+/****************************************************************************
+ * 2secdata_kernel.c */
+
+/**
+ * Calculate crc8 of kernel secure storage.
+ *
+ * @param ctx Context pointer
+ * @return Calculated crc8 value.
+ */
+uint8_t vb2_secdata_kernel_crc(struct vb2_context *ctx);
+
#endif /* VBOOT_REFERENCE_TEST_API_H_ */