liboqs integration with libcrypto.a? #2005
Closed
baluduvvuri1
started this conversation in
General
Replies: 2 comments
-
To the best of my knowledge, CMake will search for both shared and static libraries. I don't believe that we have an explicit test for building against libcrypto.a, but I don't see any reason why it shouldn't work. Are you encountering difficulties related to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am able to successfully search for the static library during compilation and then indicate both the libraries during build with final application. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I understand we can integrate liboqs to use OpenSSL (libcrypto.so) for crypto functionality by setting OQS_USE_OPENSSL to ON during make.
My query is can liboqs be integrated with statically build OpenSSL i.e libcrypto.a?
For .so integration from the document:
https://github.com/open-quantum-safe/liboqs/blob/main/CONFIGURE.md#OQS_USE_OPENSSL
When OQS_USE_OPENSSL is ON, CMake also scans the filesystem to find the minimum version of OpenSSL required by liboqs (which happens to be 1.1.1). The OPENSSL_ROOT_DIR option can be set to aid CMake in its search.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions