Common Package Specification: Getting Build Tools to Talk to Each Otherssl.h | crypto.h | ... | |--lib | libssl.lib | libcrypto.libWhat “linking openssl” means? - By default, most users want to use and link with “ssl” library - Link “crypto” transitively transitively - But, some users will want to use only “crypto” - What if we pass “-lssl -lcrypto”? - Some linkers can be smart and optimize away - Some linkers (embedded cross-toolchains) will not - Larger than than necessary binaries 34 |--include/openssl | ssl.h | crypto.h | ... | |--lib | libssl.lib | libcrypto.libOpenSSL: Components "root": { "properties": {"cmake_file_name": "OpenSSL"}0 码力 | 94 页 | 1.58 MB | 6 月前3
Common Package Specification (CPS) in Practice: A Full Round Trip Implementation in Conan C++ Package Manager|--include | zlib.h |--lib | zlib.lib |-zlib.cps |--include | openssl/sha.h |--lib | crypto.lib |-openssl.cps myapp.exe .props myapp.exe myapp myapp.exe xxx-config.cmake toolchain.cmake "requires": {"zlib": null}, "configurations": ["release"], "default_components": ["crypto","ssl"], "components": { "crypto": { "type": "archive", "requires": ["zlib:zlib"], "includes": "advapi32","user32","bcrypt"] }, "ssl": { "type": "archive", "requires": [":crypto"], "includes": ["@prefix@/include"], "location": "@prefix@/lib/libssl.lib"0 码力 | 66 页 | 1.76 MB | 6 月前3
So You Think You Can Hashalgorithm used? 🙋 FNV-1A Fowler-Noll-Vo hash was designed for fast hash-table and checksum use (not crypto).2024 Victor Ciura | @ciura_victor - Unleashing 🦀 The Ferris Within 24 Unpack std::hash But algorithm used? 🙋 FNV-1A Fowler-Noll-Vo hash was designed for fast hash-table and checksum use (not crypto). std::size_t fnv1a(void const * key, std::size_t len) { std::size_t h = 14695981039346656037u; algorithm used? 🙋 FNV-1A Fowler-Noll-Vo hash was designed for fast hash-table and checksum use (not crypto). std::size_t fnv1a(void const * key, std::size_t len) { std::size_t h = 14695981039346656037u;0 码力 | 119 页 | 6.54 MB | 6 月前3
Conan 2.10 Documentationcpp_info.components["crypto"].set_property("cmake_file_name", "Crypto") self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"] self.cpp_info cpp_info.components["crypto"].requires = ["zlib::zlib"] # Depends on all␣ ˓→components in zlib package (continues on next page) 8.2. conanfile.py 485 Conan Documentation, Release 2.10.1 (continued from previous ] self.cpp_info.components["ssl"].libs = ["libssl"] self.cpp_info.components["ssl"].requires = ["crypto", "boost::headers"] # Depends on headers␣ ˓→component in boost package obj_ext = "obj" if platform0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.6 Documentationcpp_info.components["crypto"].set_property("cmake_file_name", "Crypto") self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"] self.cpp_info cpp_info.components["crypto"].requires = ["zlib::zlib"] # Depends on all␣ ˓→components in zlib package self.cpp_info.components["ssl"].set_property("cmake_file_name", "SSL") self.cpp_info.components["ssl"] ] self.cpp_info.components["ssl"].libs = ["libssl"] self.cpp_info.components["ssl"].requires = ["crypto", "boost::headers"] # Depends on headers␣ ˓→component in boost package obj_ext = "obj" if platform0 码力 | 777 页 | 4.91 MB | 10 月前3
Conan 2.9 Documentationcpp_info.components["crypto"].set_property("cmake_file_name", "Crypto") self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"] self.cpp_info cpp_info.components["crypto"].requires = ["zlib::zlib"] # Depends on all␣ ˓→components in zlib package self.cpp_info.components["ssl"].set_property("cmake_file_name", "SSL") self.cpp_info.components["ssl"] ] self.cpp_info.components["ssl"].libs = ["libssl"] self.cpp_info.components["ssl"].requires = ["crypto", "boost::headers"] # Depends on headers␣ (continues on next page) 484 Chapter 8. Reference Conan0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.7 Documentationcpp_info.components["crypto"].set_property("cmake_file_name", "Crypto") self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"] self.cpp_info cpp_info.components["crypto"].requires = ["zlib::zlib"] # Depends on all␣ ˓→components in zlib package self.cpp_info.components["ssl"].set_property("cmake_file_name", "SSL") self.cpp_info.components["ssl"] ] self.cpp_info.components["ssl"].libs = ["libssl"] self.cpp_info.components["ssl"].requires = ["crypto", "boost::headers"] # Depends on headers␣ ˓→component in boost package obj_ext = "obj" if platform0 码力 | 779 页 | 4.93 MB | 10 月前3
Conan 2.8 Documentationcpp_info.components["crypto"].set_property("cmake_file_name", "Crypto") self.cpp_info.components["crypto"].libs = ["libcrypto"] self.cpp_info.components["crypto"].defines = ["DEFINE_CRYPTO=1"] self.cpp_info cpp_info.components["crypto"].requires = ["zlib::zlib"] # Depends on all␣ ˓→components in zlib package self.cpp_info.components["ssl"].set_property("cmake_file_name", "SSL") self.cpp_info.components["ssl"] ] self.cpp_info.components["ssl"].libs = ["libssl"] self.cpp_info.components["ssl"].requires = ["crypto", "boost::headers"] # Depends on headers␣ ˓→component in boost package obj_ext = "obj" if platform0 码力 | 785 页 | 4.95 MB | 10 月前3
跟我学Shiro - 张开涛DefaultPasswordService hashService=org.apache.shiro.crypto.hash.DefaultHashService passwordService.hashService=$hashService hashFormat=org.apache.shiro.crypto.hash.format.Shiro1CryptFormat passwordService passwordService.hashFormat=$hashFormat hashFormatFactory=org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory passwordService.hashFormatFactory=$hashFormatFactory passwordMatcher=org.apache.shiro.authc0 码力 | 219 页 | 4.16 MB | 10 月前3
Trends Artificial Intelligence
demand. CoreWeave has become one of the fastest-scaling cloud GPU providers, repurposing gaming and Crypto hardware supply chains to serve enterprise AI customers. Oracle, long seen as a legacy IT vendor0 码力 | 340 页 | 12.14 MB | 5 月前3
共 48 条
- 1
- 2
- 3
- 4
- 5













