Config.in 2.4 KB

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