diff options
Diffstat (limited to 'security')
| -rw-r--r-- | security/keys/trusted.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/security/keys/trusted.h b/security/keys/trusted.h index 3249fbd2b653..ff001a5dcb24 100644 --- a/security/keys/trusted.h +++ b/security/keys/trusted.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #define __TRUSTED_KEY_H | 2 | #define __TRUSTED_KEY_H |
| 3 | 3 | ||
| 4 | /* implementation specific TPM constants */ | 4 | /* implementation specific TPM constants */ |
| 5 | #define MAX_PCRINFO_SIZE 64 | ||
| 6 | #define MAX_BUF_SIZE 512 | 5 | #define MAX_BUF_SIZE 512 |
| 7 | #define TPM_GETRANDOM_SIZE 14 | 6 | #define TPM_GETRANDOM_SIZE 14 |
| 8 | #define TPM_OSAP_SIZE 36 | 7 | #define TPM_OSAP_SIZE 36 |
| @@ -36,16 +35,6 @@ enum { | |||
| 36 | SRK_keytype = 4 | 35 | SRK_keytype = 4 |
| 37 | }; | 36 | }; |
| 38 | 37 | ||
| 39 | struct trusted_key_options { | ||
| 40 | uint16_t keytype; | ||
| 41 | uint32_t keyhandle; | ||
| 42 | unsigned char keyauth[SHA1_DIGEST_SIZE]; | ||
| 43 | unsigned char blobauth[SHA1_DIGEST_SIZE]; | ||
| 44 | uint32_t pcrinfo_len; | ||
| 45 | unsigned char pcrinfo[MAX_PCRINFO_SIZE]; | ||
| 46 | int pcrlock; | ||
| 47 | }; | ||
| 48 | |||
| 49 | #define TPM_DEBUG 0 | 38 | #define TPM_DEBUG 0 |
| 50 | 39 | ||
| 51 | #if TPM_DEBUG | 40 | #if TPM_DEBUG |
