@@ -23,6 +23,20 @@ config BR2_PACKAGE_WOLFTPM_WOLFCRYPT
encryption. Disabling this option is not recommended as it
could create a security breach in most environments.
+config BR2_PACKAGE_WOLFTPM_ST33
+ bool "st33"
+ default n
+ help
+ Enable support of TPM 2.0 extra functionality offered by the
+ STMicroelectronics ST33 chip.
+
+config BR2_PACKAGE_WOLFTPM_NUVOTON
+ bool "npct750"
+ default n
+ help
+ Enable support of TPM 2.0 extra functionality offered by the
+ Nuvoton NPCT750 chip.
+
comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
@@ -35,4 +35,16 @@ else
WOLFTPM_CONF_OPTS += --disable-wolfcrypt
endif
+ifeq ($(BR2_PACKAGE_WOLFTPM_ST33),y)
+WOLFTPM_CONF_OPTS += --enable-st33
+else
+WOLFTPM_CONF_OPTS += --disable-st33
+endif
+
+ifeq ($(BR2_PACKAGE_WOLFTPM_NPCT750),y)
+WOLFTPM_CONF_OPTS += --enable-nuvoton
+else
+WOLFTPM_CONF_OPTS += --disable-nuvoton
+endif
+
$(eval $(autotools-package))