1config BR2_PACKAGE_TPM2_TSS 2 bool "tpm2-tss" 3 depends on !BR2_STATIC_LIBS # dlfcn.h 4 select BR2_PACKAGE_LIBURIPARSER 5 select BR2_PACKAGE_OPENSSL 6 select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL 7 help 8 OSS implementation of the Trusted Computing Group's (TCG) TPM2 9 Software Stack (TSS). This stack consists of the following 10 layers from top to bottom: 11 12 * System API (SAPI) as described in the system level API and 13 TPM command transmission interface specification. This API 14 is a 1-to-1 mapping of the TPM2 commands documented in Part 15 3 of the TPM2 specification. Additionally there are 16 asynchronous versions of each command. These asynchronous 17 variants may be useful for integration into event-driven 18 programming environments. Both the synchronous and 19 asynchronous API are exposed through a single library: 20 libtss2-sys. 21 22 * TPM Command Transmission Interface (TCTI) that is described 23 in the same specification. This API provides a standard 24 interface to transmit / receive TPM command / response 25 buffers. It is expected that any number of libraries 26 implementing the TCTI API will be implemented as a way to 27 abstract various platform specific IPC mechanisms. Currently 28 this repository provides two TCTI implementations: 29 libtss2-tcti-device and libtss2-tcti-mssim. The prior should 30 be used for direct access to the TPM through the Linux 31 kernel driver. The later implements the protocol exposed by 32 the Microsoft software TPM2 simulator. 33 34 https://github.com/tpm2-software/tpm2-tss 35 36if BR2_PACKAGE_TPM2_TSS 37 38config BR2_PACKAGE_TPM2_TSS_FAPI 39 bool "fapi support" 40 depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c 41 select BR2_PACKAGE_JSON_C 42 select BR2_PACKAGE_LIBCURL 43 help 44 This option allows to enable Feature API (FAPI). Feature 45 API (FAPI) as described in the "TSS 2.0 Feature API 46 Specification" along with "TSS 2.0 JSON Data Types and 47 Policy Language Specification" This API is designed to be 48 very high-level API, intended to make programming with the 49 TPM as simple as possible. The API functions are exposed 50 through a single library: libtss2-fapi. 51 52 https://trustedcomputinggroup.org/wp-content/uploads/TSS_FAPI_v0.94_r04_pubrev.pdf 53 https://trustedcomputinggroup.org/wp-content/uploads/TSS_JSON_Policy_v0.7_r04_pubrev.pdf 54 55endif 56 57comment "tpm2-tss needs a toolchain w/ dynamic library" 58 depends on BR2_STATIC_LIBS 59