|
@@ -1,9 +1,5 @@
|
|
|
config BR2_PACKAGE_WOLFTPM
|
|
|
bool "wolftpm"
|
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
- depends on !BR2_STATIC_LIBS
|
|
|
- select BR2_PACKAGE_WOLFSSL
|
|
|
- select BR2_PACKAGE_WOLFSSL_ALL
|
|
|
help
|
|
|
wolfTPM is a portable, open-source TPM 2.0 stack with
|
|
|
backward API compatibility, designed for embedded use.
|
|
@@ -12,5 +8,22 @@ config BR2_PACKAGE_WOLFTPM
|
|
|
|
|
|
https://www.wolfssl.com/
|
|
|
|
|
|
-comment "wolftpm needs a toolchain w/ threads, dynamic library"
|
|
|
+if BR2_PACKAGE_WOLFTPM
|
|
|
+
|
|
|
+config BR2_PACKAGE_WOLFTPM_WOLFCRYPT
|
|
|
+ bool "wolfCrypt hooks"
|
|
|
+ default y
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # wolfssl
|
|
|
+ depends on !BR2_STATIC_LIBS # wolfssl-all
|
|
|
+ select BR2_PACKAGE_WOLFSSL
|
|
|
+ # not mandatory, but needed to get all features
|
|
|
+ select BR2_PACKAGE_WOLFSSL_ALL
|
|
|
+ help
|
|
|
+ Enable wolfCrypt hooks for RNG, Auth Sessions and Parameter
|
|
|
+ encryption. Disabling this option is not recommended as it
|
|
|
+ could create a security breach in most environments.
|
|
|
+
|
|
|
+comment "wolfCrypt hooks need a toolchain w/ threads, dynamic library"
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
|
|
+
|
|
|
+endif
|