| OLD | NEW |
| 1 /* Software-Based Trusted Platform Module (TPM) Emulator for Linux | 1 /* Software-based Trusted Platform Module (TPM) Emulator |
| 2 * Copyright (C) 2004 Mario Strasser <mast@gmx.net>, | 2 * Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net> |
| 3 * Swiss Federal Institute of Technology (ETH) Zurich | |
| 4 * | 3 * |
| 5 * This module is free software; you can redistribute it and/or modify | 4 * This module is free software; you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License as published | 5 * it under the terms of the GNU General Public License as published |
| 7 * by the Free Software Foundation; either version 2 of the License, | 6 * by the Free Software Foundation; either version 2 of the License, |
| 8 * or (at your option) any later version. | 7 * or (at your option) any later version. |
| 9 * | 8 * |
| 10 * This module is distributed in the hope that it will be useful, | 9 * This module is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
| 14 * | 13 * |
| 15 * $Id$ | 14 * $Id: tpm_data.h 368 2010-02-15 09:26:37Z mast $ |
| 16 */ | 15 */ |
| 17 | 16 |
| 18 #ifndef _TPM_DATA_H_ | 17 #ifndef _TPM_DATA_H_ |
| 19 #define _TPM_DATA_H | 18 #define _TPM_DATA_H |
| 20 | 19 |
| 21 #include "tpm_structures.h" | 20 #include "tpm_structures.h" |
| 22 | 21 |
| 23 extern TPM_DATA tpmData; | 22 extern TPM_DATA tpmData; |
| 23 extern UINT32 tpmConf; |
| 24 | 24 |
| 25 BOOL tpm_get_physical_presence(void); | 25 BOOL tpm_get_physical_presence(void); |
| 26 | 26 |
| 27 void tpm_init_data(void); | 27 void tpm_init_data(void); |
| 28 | 28 |
| 29 void tpm_release_data(void); | 29 void tpm_release_data(void); |
| 30 | 30 |
| 31 int tpm_store_permanent_data(void); | 31 int tpm_store_permanent_data(void); |
| 32 | 32 |
| 33 int tpm_restore_permanent_data(void); | 33 int tpm_restore_permanent_data(void); |
| 34 | 34 |
| 35 int tpm_erase_permanent_data(void); | 35 int tpm_erase_permanent_data(void); |
| 36 | 36 |
| 37 #endif /* _TPM_DATA_H_ */ | 37 #endif /* _TPM_DATA_H_ */ |
| OLD | NEW |