Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / include / linux / tpm_command.h
blob727512e249b5bcfd27742560358467377534e801
1 #ifndef __LINUX_TPM_COMMAND_H__
2 #define __LINUX_TPM_COMMAND_H__
4 /*
5 * TPM Command constants from specifications at
6 * http://www.trustedcomputinggroup.org
7 */
9 /* Command TAGS */
10 #define TPM_TAG_RQU_COMMAND 193
11 #define TPM_TAG_RQU_AUTH1_COMMAND 194
12 #define TPM_TAG_RQU_AUTH2_COMMAND 195
13 #define TPM_TAG_RSP_COMMAND 196
14 #define TPM_TAG_RSP_AUTH1_COMMAND 197
15 #define TPM_TAG_RSP_AUTH2_COMMAND 198
17 /* Command Ordinals */
18 #define TPM_ORD_GETRANDOM 70
19 #define TPM_ORD_OSAP 11
20 #define TPM_ORD_OIAP 10
21 #define TPM_ORD_SEAL 23
22 #define TPM_ORD_UNSEAL 24
24 /* Other constants */
25 #define SRKHANDLE 0x40000000
26 #define TPM_NONCE_SIZE 20
28 #endif