summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/trusty/ql-tipc/hwcrypto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/trusty/ql-tipc/hwcrypto.c b/lib/trusty/ql-tipc/hwcrypto.c
index 50532b005b..800b759c53 100644
--- a/lib/trusty/ql-tipc/hwcrypto.c
+++ b/lib/trusty/ql-tipc/hwcrypto.c
@@ -262,3 +262,8 @@ int hwcrypto_gen_bkek(uint32_t buf, uint32_t len)
sizeof(req), NULL, 0, false);
return rc;
}
+
+int hwcrypto_lock_boot_state(void)
+{
+ return hwcrypto_do_tipc(HWCRYPTO_LOCK_BOOT_STATE, NULL, 0, NULL, 0, false);
+}