xref: /OK3568_Linux_fs/buildroot/package/softhsm2/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SOFTHSM2
2	bool "softhsm2"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on !BR2_STATIC_LIBS # dlopen()
7	select BR2_PACKAGE_OPENSSL
8	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
9	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES
10	help
11	  SoftHSM is an implementation of a cryptographic store
12	  accessible through a PKCS#11 interface. You can use it
13	  to explore PKCS#11 without having a Hardware Security
14	  Module.
15
16	  https://www.opendnssec.org/softhsm
17
18comment "softhsm2 needs a toolchain w/ C++, threads, gcc >= 4.8 and dynamic library support"
19	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
20		!BR2_TOOLCHAIN_HAS_THREADS || \
21		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
22