-
Hello, I am running into build errors (actually linker errors). I guess this could be a mismatch between the flags used in liboqs build and that in openssl. However, not able to figure this out. Also, liboqs is built as static library and installed on the system using make install, and then oqs-openssl is configured and built. Note: We are working on CentOS Stream 9. I think this is not an issue, but in case. Workspace details and branches (Note: the two repositories are on independent directories) [pals@localhost liboqs]$ pwd
[pals@localhost liboqs]$ git log --oneline | head -5 [pals@localhost liboqs]$ cd ..
[pals@localhost oqs-openssl]$ make |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The symbols causing you grief (e.g., In general, your goal (doing a PQ-DTLS integration) is very interesting, so can I ask why you do this with an obsolete code base? Wouldn't it be more interesting to do this with OpenSSL master (to possibly contribute your work upstream/preserve it)? |
Beta Was this translation helpful? Give feedback.
-
Ok. Got it.
/pals
Mobile response
…________________________________
From: Michael Baentsch ***@***.***>
Sent: Sunday, July 30, 2023 9:54:04 PM
To: open-quantum-safe/liboqs ***@***.***>
Cc: pals-ucb ***@***.***>; Author ***@***.***>
Subject: Re: [open-quantum-safe/liboqs] oqs openssl build errors. (Discussion #1517)
Then I read the note that liboqs must be built against openSSL1.1.1u and realized the mistake.
That was not quite the note I was pointing to. What I pointed to was
Note: This will only work correctly, if the OpenSSL version used to build liboqs is a version below 3.0.0. If the standard OpenSSL on the build system or the version pointed to by the above -DOPENSSL_ROOT_DIR=... command is a version >= 3.0.0, then you must add the option -DOQS_USE_OPENSSL=OFF to the above cmake build command to successfully complete the subsequent build steps for this package.
--> Just setting -DOQS_USE_OPENSSL=OFF when building liboqs creates a binary that can be used in any other package (incl. old openssl).
Any help or pointers will be useful.
The liboqs KEM APIs are documented here<https://github.com/open-quantum-safe/liboqs/blob/main/src/kem/kem.h> and sample use case is here<https://github.com/open-quantum-safe/liboqs/blob/main/tests/example_kem.c>.
—
Reply to this email directly, view it on GitHub<#1517 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBTC5BAWBBTAJDKI77K3RFLXS426ZANCNFSM6AAAAAA24VOZ3E>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
That was not quite the note I was pointing to. What I pointed to was
--> Just setting
-DOQS_USE_OPENSSL=OFF
when buildingliboqs
creates a binary that can be used in any other package (incl. oldopenssl
…