Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: src/platform/vboot_reference/tests/rollback_index_mock.c

Issue 2225005: New anti-rollback strategy (no TPM NVRAM write cycles for locking). (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: comment changes Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/vboot_reference/vboot_firmware/include/rollback_index.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/tests/rollback_index_mock.c
diff --git a/src/platform/vboot_reference/tests/rollback_index_mock.c b/src/platform/vboot_reference/tests/rollback_index_mock.c
index 9d67e1fbb283496e7d84806142a912c7ab2fa256..c7c6d6ff1cec84023e0d1e87199277be6de13156 100644
--- a/src/platform/vboot_reference/tests/rollback_index_mock.c
+++ b/src/platform/vboot_reference/tests/rollback_index_mock.c
@@ -60,8 +60,13 @@ int WriteStoredVersion(int type, uint16_t version) {
return 1;
}
-void LockStoredVersion(int type) {
+void LockFirmwareVersions() {
#ifndef NDEBUG
- debug("Rollback Index Library Mock: Version Locked.\n");
+ debug("Rollback Index Library Mock: Firmware Versions Locked.\n");
+#endif
+}
+void LockKernelVersionsByLockingPP() {
+#ifndef NDEBUG
+ debug("Rollback Index Library Mock: Kernel Versions Locked.\n");
#endif
}
« no previous file with comments | « no previous file | src/platform/vboot_reference/vboot_firmware/include/rollback_index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698