open-quantum-safe / liboqs

C library for prototyping and experimenting with quantum-resistant cryptography
https://openquantumsafe.org/
Other
1.87k stars 459 forks source link

Third-party libraries to be included in OQS #304

Closed manvari closed 6 years ago

manvari commented 6 years ago

The NIST PQC FAQ mentions that the following third-party libraries are officially supported:

NTL Version 10.5.0 (http://www.shoup.net/ntl/download.html), GMP Version 6.1.2 (https://gmplib.org), the Keccak code package (https://github.com/gvanas/KeccakCodePackage), and OpenSSL Version 1.10f (https://www.openssl.org/source)

Some submissions also include other third-party libraries that have been approved by NIST.

  1. Should all of the officially supported libraries be included in OQS? Currently, OQS includes Keccak and OpenSSL.
  2. What is OQS' stance on including other approved third-party libraries?

I am currently holding off on integrating a submission that uses NTL, OpenSSL as well as gf2x.

dstebila commented 6 years ago

Our build process downloads and builds the Keccak code package directly because it is not readily available in Linux/macOS package managers (apt, brew). But OpenSSL is readily in package managers available so we require it to be installed externally and then build against that. I'd take the same approach with NTL and GMP.