mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-06 00:03:35 -04:00
* Supporting BIKE KEM reference code * Hiding print global symbol when VERBOSE!=2 * Supporting USE_OPENSSL + OPENSSL_DIR * - The file config/.gitkeep is no longer needed its purpose was to allow git having an empty folder (config). - Moved the file acinclude.m4 to the config directory (where all the *.m4 files are). - Added .travis/defs.sh - this file holds common definitions used by travis scripts. - Changed style-check to first check for clang-format only then handle modified files. - Sodium support is no longer required. - Breaked configure.ac into sub m4 files - Sorted the flags list. - Changed FrodoKEM to Frodo for consistency with SIKE and BIKE. Note that it is already under the KEM directory. - Chaned USE_* protocl flags to ENABLE_* for consistency - Adjaust most of the makefile to have a consistent compilation flags - Added some more compilation warnings. * Rename functions by using a legend instead of the FN() macro * prettyprint * 1) Some more Makefiles cleanup 2)Adding OQS_API defnition - hidding other symbols * Reverting frodo renaming * Reverting the checks order. * Removing NEW_API.md * pretty print * 1)Disable bad warnings on gcc4.8/4.9 2) Disable all warnings on SIKE * Disable the cast-align warning for now * Documentation * 1) Reenable BIKE error messages 2) Auto detection of AVX/AVX2/BMI features. * Enable AVX features only on X86_64 Linux platforms * Adding BIKE additional implementation for Linux(x86_64) and GCC * Fixing configure.ac when OpenSSL is disabled * Enabling BIKE's AVX512 implementation * Wrap AVX512 code with ifdef * Changes from code review * Prettyprint * Fix typo * Rename symbol
25 lines
867 B
Plaintext
25 lines
867 B
Plaintext
# Checks for libraries.
|
|
AC_DEFUN([ADD_EXTERNAL_LIB],
|
|
[AC_ARG_WITH(
|
|
[openssl-dir],
|
|
AS_HELP_STRING([--with-openssl-dir=dir],[openssl dir used locally (default /usr).]),
|
|
[AC_DEFINE_UNQUOTED(OPENSSLDIR, [$withval], [OPENSSL DIR used locally])
|
|
AC_SUBST(OPENSSL_DIR, [$withval])],
|
|
[AC_SUBST(OPENSSL_DIR, /usr)]
|
|
)]
|
|
[AC_ARG_WITH(
|
|
[sodium-dir],
|
|
AS_HELP_STRING([--with-sodium-dir=dir],[sodium dir used locally (default /usr).]),
|
|
[AC_DEFINE_UNQUOTED(SODIUMDIR, [$withval], [SODIUM DIR used locally])
|
|
AC_SUBST(SODIUM_DIR, [$withval])],
|
|
[AC_SUBST(SODIUM_DIR, /usr)]
|
|
)]
|
|
[AC_ARG_WITH(
|
|
[m4ri-dir],
|
|
AS_HELP_STRING([--with-m4ri-dir=dir],[m4ri dir used locally (default /usr).]),
|
|
[AC_DEFINE_UNQUOTED(M4RIDIR, [$withval], [M4RI DIR used locally])
|
|
AC_SUBST(M4RI_DIR, [$withval])],
|
|
[AC_SUBST(M4RI_DIR, /usr)]
|
|
)]
|
|
)
|