Skip to content

Scripts for compiling OpenSSL and HAProxy with Open Quantum Safe algorithms on *NIX and Windows.

License

Notifications You must be signed in to change notification settings

LUMII-Syslab/oqs-haproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building liboqs (open-quantum-safe dynamic library)

In order to build just liboqs (dynamic library), invoke

  • ./build_liboqs_ubuntu.sh on Ubuntu
  • ./build_liboqs_macos.sh on macOS
  • build_liboqs_win_x86_64.bat on Windows

Building pure liboqs is useful for Java applications that can invoke open-quantum-safe algorithms via Java mappings.

Building HAProxy (and OpenSSL 1.1.1)

In order to build HAProxy, we need also OpenSSL (currently, the scripts rely on OpenSSL 1.1.1). The scripts take OpenSSL sources and compile it with static liboqs. Then HAProxy, which relies on OpenSSL, is compiled.

Ubuntu Linux

Invoke:

./build_haproxy_1_1_1_ubuntu_x86_64.sh

Notice that the build process needs a lot of RAM. If you do not have enough RAM, use /swapfile.

*NIX

Install these packages as prerequisites: git,perl,cmake,make,gcc-core,ninja,libtool,openssl,libssl-devel.

Then invoke:

./_build_haproxy_1_1_1_common.sh build /opt/oqs /opt/oqs \
                TARGET=generic USE_OPENSSL=1

Windows

On Windows, the build process relies on Cygwin64. Just launch the script, which will do all the job:

build_haproxy_1_1_1_win_x86_64.bat

In particular, the script downloads and installs Cygwin64 with the required build tools.

If you wish to manually install additional Cygwin64 programs (such as mc and dos2unix), use the following command:

cygwin_installer\setup-x86_64.exe -q --wait -P mc,dos2unix

About

Scripts for compiling OpenSSL and HAProxy with Open Quantum Safe algorithms on *NIX and Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published