1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #ifndef __LINUX_TPM_COMMAND_H__ 1 #ifndef __LINUX_TPM_COMMAND_H__ 3 #define __LINUX_TPM_COMMAND_H__ 2 #define __LINUX_TPM_COMMAND_H__ 4 3 5 /* 4 /* 6 * TPM Command constants from specifications a 5 * TPM Command constants from specifications at 7 * http://www.trustedcomputinggroup.org 6 * http://www.trustedcomputinggroup.org 8 */ 7 */ 9 8 10 /* Command TAGS */ 9 /* Command TAGS */ 11 #define TPM_TAG_RQU_COMMAND 193 10 #define TPM_TAG_RQU_COMMAND 193 12 #define TPM_TAG_RQU_AUTH1_COMMAND 194 11 #define TPM_TAG_RQU_AUTH1_COMMAND 194 13 #define TPM_TAG_RQU_AUTH2_COMMAND 195 12 #define TPM_TAG_RQU_AUTH2_COMMAND 195 14 #define TPM_TAG_RSP_COMMAND 196 13 #define TPM_TAG_RSP_COMMAND 196 15 #define TPM_TAG_RSP_AUTH1_COMMAND 197 14 #define TPM_TAG_RSP_AUTH1_COMMAND 197 16 #define TPM_TAG_RSP_AUTH2_COMMAND 198 15 #define TPM_TAG_RSP_AUTH2_COMMAND 198 17 16 18 /* Command Ordinals */ 17 /* Command Ordinals */ 19 #define TPM_ORD_GETRANDOM 70 18 #define TPM_ORD_GETRANDOM 70 20 #define TPM_ORD_OSAP 11 19 #define TPM_ORD_OSAP 11 21 #define TPM_ORD_OIAP 10 20 #define TPM_ORD_OIAP 10 22 #define TPM_ORD_SEAL 23 21 #define TPM_ORD_SEAL 23 23 #define TPM_ORD_UNSEAL 24 22 #define TPM_ORD_UNSEAL 24 24 23 25 /* Other constants */ 24 /* Other constants */ 26 #define SRKHANDLE 0x4000 25 #define SRKHANDLE 0x40000000 27 #define TPM_NONCE_SIZE 20 26 #define TPM_NONCE_SIZE 20 28 27 29 #endif 28 #endif 30 29
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.