mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-23 17:55:01 +00:00
And nuke all the underlying code that is unused once those APIs are gone. These APIs are not used by any project in ToT, having been superseded last year by the vboot2 APIs. No functional changes to live code, just lots of deletes. CQ-DEPEND=CL:347414 BUG=chromium:611535 BRANCH=none TEST=make runtests; build samus Change-Id: I05ac752d74d1343dd03600b1c5e6ed22822e2802 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/347257
43 lines
861 B
C
43 lines
861 B
C
/* Copyright (c) 2012 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.
|
|
*
|
|
* Functions for querying, manipulating and locking rollback indices
|
|
* stored in the TPM NVRAM.
|
|
*/
|
|
|
|
#include "sysincludes.h"
|
|
#include "utility.h"
|
|
|
|
#include "rollback_index.h"
|
|
|
|
#include "tss_constants.h"
|
|
|
|
|
|
uint32_t SetVirtualDevMode(int val) {
|
|
return TPM_SUCCESS;
|
|
}
|
|
|
|
uint32_t TPMClearAndReenable(void) {
|
|
return TPM_SUCCESS;
|
|
}
|
|
|
|
uint32_t RollbackKernelRead(uint32_t* version) {
|
|
*version = 0;
|
|
return TPM_SUCCESS;
|
|
}
|
|
|
|
uint32_t RollbackKernelWrite(uint32_t version) {
|
|
return TPM_SUCCESS;
|
|
}
|
|
|
|
uint32_t RollbackKernelLock(int recovery_mode) {
|
|
return TPM_SUCCESS;
|
|
}
|
|
|
|
uint32_t RollbackFwmpRead(struct RollbackSpaceFwmp *fwmp)
|
|
{
|
|
Memset(fwmp, 0, sizeof(*fwmp));
|
|
return TPM_SUCCESS;
|
|
}
|