Config.in 2.3 KB

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