| /* SPDX-License-Identifier: GPL-2.0 */ |
| #ifndef __LINUX_TPM_COMMAND_H__ |
| #define __LINUX_TPM_COMMAND_H__ |
| * TPM Command constants from specifications at |
| * http://www.trustedcomputinggroup.org |
| #define TPM_TAG_RQU_COMMAND 193 |
| #define TPM_TAG_RQU_AUTH1_COMMAND 194 |
| #define TPM_TAG_RQU_AUTH2_COMMAND 195 |
| #define TPM_TAG_RSP_COMMAND 196 |
| #define TPM_TAG_RSP_AUTH1_COMMAND 197 |
| #define TPM_TAG_RSP_AUTH2_COMMAND 198 |
| #define TPM_ORD_GETRANDOM 70 |
| #define TPM_ORD_UNSEAL 24 |
| #define SRKHANDLE 0x40000000 |
| #define TPM_NONCE_SIZE 20 |