summaryrefslogtreecommitdiff
path: root/src/security/vboot/secdata_mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/vboot/secdata_mock.c')
-rw-r--r--src/security/vboot/secdata_mock.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/security/vboot/secdata_mock.c b/src/security/vboot/secdata_mock.c
index a4957f9575..edb6739653 100644
--- a/src/security/vboot/secdata_mock.c
+++ b/src/security/vboot/secdata_mock.c
@@ -53,6 +53,17 @@ vb2_error_t antirollback_write_space_firmware(struct vb2_context *ctx)
return VB2_SUCCESS;
}
+vb2_error_t antirollback_read_space_kernel(struct vb2_context *ctx)
+{
+ vb2api_secdata_kernel_create(ctx);
+ return VB2_SUCCESS;
+}
+
+vb2_error_t antirollback_write_space_kernel(struct vb2_context *ctx)
+{
+ return VB2_SUCCESS;
+}
+
vb2_error_t antirollback_lock_space_firmware(void)
{
return VB2_SUCCESS;