1config BR2_PACKAGE_WOLFTPM
2	bool "wolftpm"
3	help
4	  wolfTPM is a portable, open-source TPM 2.0 stack with
5	  backward API compatibility, designed for embedded use.
6	  No external dependencies, compact code size with low
7	  resource usage.
8
9	  https://www.wolfssl.com/
10
11if BR2_PACKAGE_WOLFTPM
12
13config BR2_PACKAGE_WOLFTPM_WOLFCRYPT
14	bool "wolfCrypt hooks"
15	default y
16	depends on BR2_TOOLCHAIN_HAS_THREADS # wolfssl
17	depends on !BR2_STATIC_LIBS # wolfssl-all
18	select BR2_PACKAGE_WOLFSSL
19	# not mandatory, but needed to get all features
20	select BR2_PACKAGE_WOLFSSL_ALL
21	help
22	  Enable wolfCrypt hooks for RNG, Auth Sessions and Parameter
23	  encryption. Disabling this option is not recommended as it
24	  could create a security breach in most environments.
25
26comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
27	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
28
29config BR2_PACKAGE_WOLFTPM_ST33
30	bool "ST33 extra functionality"
31	help
32	  Enable support of TPM 2.0 extra functionality offered by the
33	  STMicroelectronics ST33 chip.
34
35config BR2_PACKAGE_WOLFTPM_NUVOTON
36	bool "NPCT750 extra functionality"
37	help
38	  Enable support of TPM 2.0 extra functionality offered by the
39	  Nuvoton NPCT750 chip.
40
41config BR2_PACKAGE_WOLFTPM_DEBUG
42	bool "Debug output"
43	help
44	  Enable debug messages in wolfTPM.
45
46endif
47