summaryrefslogtreecommitdiff
path: root/src/include/metadata_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/metadata_hash.h')
-rw-r--r--src/include/metadata_hash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/metadata_hash.h b/src/include/metadata_hash.h
index 2d3b8a86bc..bfa7ef1fb6 100644
--- a/src/include/metadata_hash.h
+++ b/src/include/metadata_hash.h
@@ -6,6 +6,11 @@
#include <commonlib/bsd/metadata_hash.h>
+/* Return a pointer to the whole anchor. Only used for decompressor builds. */
+void *metadata_hash_export_anchor(void);
+/* Import a pointer that points to the anchor. Only used for decompressor builds. */
+void metadata_hash_import_anchor(void *ptr);
+
/* Verify the an FMAP data structure with the FMAP hash that is stored together with the CBFS
metadata hash in the bootblock's metadata hash anchor (when CBFS verification is enabled). */
vb2_error_t metadata_hash_verify_fmap(const void *fmap_base, size_t fmap_size);