projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keys, trusted: move struct trusted_key_options to trusted-type.h
[cascardo/linux.git]
/
security
/
keys
/
trusted.h
diff --git
a/security/keys/trusted.h
b/security/keys/trusted.h
index
3249fbd
..
ff001a5
100644
(file)
--- a/
security/keys/trusted.h
+++ b/
security/keys/trusted.h
@@
-2,7
+2,6
@@
#define __TRUSTED_KEY_H
/* implementation specific TPM constants */
#define __TRUSTED_KEY_H
/* implementation specific TPM constants */
-#define MAX_PCRINFO_SIZE 64
#define MAX_BUF_SIZE 512
#define TPM_GETRANDOM_SIZE 14
#define TPM_OSAP_SIZE 36
#define MAX_BUF_SIZE 512
#define TPM_GETRANDOM_SIZE 14
#define TPM_OSAP_SIZE 36
@@
-36,16
+35,6
@@
enum {
SRK_keytype = 4
};
SRK_keytype = 4
};
-struct trusted_key_options {
- uint16_t keytype;
- uint32_t keyhandle;
- unsigned char keyauth[SHA1_DIGEST_SIZE];
- unsigned char blobauth[SHA1_DIGEST_SIZE];
- uint32_t pcrinfo_len;
- unsigned char pcrinfo[MAX_PCRINFO_SIZE];
- int pcrlock;
-};
-
#define TPM_DEBUG 0
#if TPM_DEBUG
#define TPM_DEBUG 0
#if TPM_DEBUG