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