blob: 7c9e5b17540c516b8b28c8ad52d9068ce94bd398 [file] [log] [blame]
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Stub API implementations which should be implemented by the caller.
*/
#include "2sysincludes.h"
#include "2api.h"
int vb2ex_tpm_clear_owner(struct vb2_context *ctx)
{
return VB2_ERROR_EX_TPM_CLEAR_OWNER_UNIMPLEMENTED;
}
int vb2ex_read_resource(struct vb2_context *ctx,
enum vb2_resource_index index,
uint32_t offset,
void *buf,
uint32_t size)
{
return VB2_ERROR_EX_READ_RESOURCE_UNIMPLEMENTED;
}