| OLD | NEW |
| 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 * | 4 * |
| 5 * Functions for querying, manipulating and locking rollback indices | 5 * Functions for querying, manipulating and locking rollback indices |
| 6 * stored in the TPM NVRAM. | 6 * stored in the TPM NVRAM. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef VBOOT_REFERENCE_ROLLBACK_INDEX_H_ | 9 #ifndef VBOOT_REFERENCE_ROLLBACK_INDEX_H_ |
| 10 #define VBOOT_REFERENCE_ROLLBACK_INDEX_H_ | 10 #define VBOOT_REFERENCE_ROLLBACK_INDEX_H_ |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 * returning. In all other cases, the caller is responsible for locking the | 109 * returning. In all other cases, the caller is responsible for locking the |
| 110 * firmware versions once it decides it doesn't need to update them. | 110 * firmware versions once it decides it doesn't need to update them. |
| 111 */ | 111 */ |
| 112 uint32_t SetupTPM(int mode, int developer_flag); | 112 uint32_t SetupTPM(int mode, int developer_flag); |
| 113 uint32_t GetStoredVersions(int type, uint16_t* key_version, uint16_t* version); | 113 uint32_t GetStoredVersions(int type, uint16_t* key_version, uint16_t* version); |
| 114 uint32_t WriteStoredVersions(int type, uint16_t key_version, uint16_t version); | 114 uint32_t WriteStoredVersions(int type, uint16_t key_version, uint16_t version); |
| 115 uint32_t LockFirmwareVersions(void); | 115 uint32_t LockFirmwareVersions(void); |
| 116 uint32_t LockKernelVersionsByLockingPP(void); | 116 uint32_t LockKernelVersionsByLockingPP(void); |
| 117 | 117 |
| 118 #endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */ | 118 #endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */ |
| OLD | NEW |