/* 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 */ /* Command TAGS */ #define TPM_TAG_RQU_COMMAND … #define TPM_TAG_RQU_AUTH1_COMMAND … #define TPM_TAG_RQU_AUTH2_COMMAND … #define TPM_TAG_RSP_COMMAND … #define TPM_TAG_RSP_AUTH1_COMMAND … #define TPM_TAG_RSP_AUTH2_COMMAND … /* Command Ordinals */ #define TPM_ORD_GETRANDOM … #define TPM_ORD_OSAP … #define TPM_ORD_OIAP … #define TPM_ORD_SEAL … #define TPM_ORD_UNSEAL … /* Other constants */ #define SRKHANDLE … #define TPM_NONCE_SIZE … #endif