summaryrefslogtreecommitdiff
path: root/common/vboot_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/vboot_hash.c')
-rw-r--r--common/vboot_hash.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/vboot_hash.c b/common/vboot_hash.c
index 1d203e77f9..ff2c56fb59 100644
--- a/common/vboot_hash.c
+++ b/common/vboot_hash.c
@@ -43,10 +43,15 @@ static int in_progress;
static struct sha256_ctx ctx;
+int vboot_hash_in_progress(void)
+{
+ return in_progress;
+}
+
/**
* Abort hash currently in progress, and invalidate any completed hash.
*/
-static void vboot_hash_abort(void)
+void vboot_hash_abort(void)
{
if (in_progress) {
want_abort = 1;