| Index: firmware/lib/include/rollback_index.h
|
| diff --git a/firmware/lib/include/rollback_index.h b/firmware/lib/include/rollback_index.h
|
| index e3399123b3f61b74c6dd9e710ef6fa91286563cd..fd5f72a2feeeed55b73a39f930333ca704c49813 100644
|
| --- a/firmware/lib/include/rollback_index.h
|
| +++ b/firmware/lib/include/rollback_index.h
|
| @@ -95,4 +95,13 @@ uint32_t RollbackKernelWrite(uint16_t key_version, uint16_t version);
|
| /* Lock must be called. Internally, it's ignored in recovery mode. */
|
| uint32_t RollbackKernelLock(void);
|
|
|
| +/* The following functions are here for testing only. */
|
| +
|
| +/* Store 1 in *|initialized| if the TPM NVRAM spaces have been initialized, 0
|
| + * otherwise. Return TPM errors. */
|
| +uint32_t GetSpacesInitialized(int* initialized);
|
| +
|
| +/* Issue a TPM_Clear and reenable/reactivate the TPM. */
|
| +uint32_t TPMClearAndReenable(void);
|
| +
|
| #endif /* VBOOT_REFERENCE_ROLLBACK_INDEX_H_ */
|
|
|