Open andybrucenet opened 7 months ago
Please check PLATFORMS.md: You'll notice limited Windows support for liboqs
(we don't have people knowledgeable/interested in that platform for the project). Any contributions via PR welcome!
Just saw this. I'll be happy to put in some code as soon as I get to a stopping point.
On the good news - I have integrated all the defined NIST algos for DSA / KEM on Windows (with my local hacks for now), macOS, iOS, Android, and Linux (glibc 2.34 since a "static" openssl build...still requires a glibc unless yet-more-work is done with musl).
All my tests pass on every platform. I still need to prove interoperability such that when keys are exchanged between different platforms via PEM files that everything works. But so far things is looking good.
Describe the bug When building on windows receive a compile error from
src/common/ossl_helpers.c
- dlfcn.h is not available on windowsTo Reproduce Try to build on windows :)
Expected behavior One of four things:
ifdef around
#include <dlfcn.h>
/ dlfcn functions (simply ignore on windows and assume that required libraries are loaded).Screenshots I even put on a screenshot for you :)
Environment (please complete the following information):
Additional context I added logs collected from my run which shows all the configuration occurring. buildliboqs.log''
I worked around the problem as follows: