251 Commits

Author SHA1 Message Date
Douglas Stebila
66c0c29e78 Typo in key size
[skip ci]
2019-07-16 09:38:36 -04:00
Douglas Stebila
39a852d79d Add KATs and algorithm data sheet for LEDAkem 2019-07-15 22:41:08 -04:00
Douglas Stebila
2749c68d9a Complete Doxygen documentation for revised SHA-3 2019-07-05 10:25:02 -04:00
Douglas Stebila
eda92b0b4a
Merge pull request #513 from open-quantum-safe/ds-add-saber
Add SABER from PQClean
2019-07-04 17:29:06 -04:00
Douglas Stebila
129da4322b Add algorithm datasheet for Saber 2019-07-04 13:53:13 -04:00
Douglas Stebila
6d5835bfda Add algorithm datasheet for MQDSS 2019-07-04 13:33:47 -04:00
Christian Paquin
3b302200c3 Integrated SIKE changes from commit 214cd0 to 5ca332. 2019-07-02 00:26:05 -04:00
Christian Paquin
b2ca2279d5 Updated SIDH/SIKE doc alg sheets. 2019-06-28 18:45:49 -04:00
Douglas Stebila
71c8b7cd53 Rename algorithms in Dilithium datasheet 2019-06-18 21:03:47 -04:00
Douglas Stebila
223ced1de7 Merge remote-tracking branch 'oqs/master' into PQClean_Dilithium 2019-06-18 20:28:22 -04:00
Douglas Stebila
16ea923cec Replace NewHope with PQClean round 2 version, update PQClean KEMs 2019-06-13 20:34:35 -04:00
dimisik
e8d1dbaed8 Integrates Dilithium 2019-06-13 16:39:35 -04:00
Douglas Stebila
cd006f698b Merge branch 'master' of github.com:open-quantum-safe/liboqs into cp-add-picnic-round2 2019-06-10 11:02:28 -04:00
Christian Paquin
3355e1d990 Fixed picnic artefact size in doc. 2019-05-22 11:38:31 -04:00
Douglas Stebila
a8f43c690d Add missing algorithms datasheets 2019-05-13 11:36:21 -04:00
Christian Paquin
8198072ce7 Integrated Picnic round2. 2019-05-02 22:07:21 -04:00
Douglas Stebila
8fe4928dd6 Add FrodoKEM-976 and 1344 to build system 2019-04-14 16:24:03 -04:00
Douglas Stebila
ab2c96a65e
Replace the Kyber768 implementation in liboqs master with PQClean's implementation (#466)
* Initial import of PQClean's Kyber768 clean implementation

* Integrate PQClean's Kyber768 into liboqs master

* Exempt PQClean code from namespacing and prettyprint

* Build PQClean's Kyber768 on Windows

* Add PQClean shim headers to Windows build

* Include PQClean's shim headers on Windows

* Update Kyber768 implementation from PQClean 

Commit 
0fa56021d1

* Update algorithm datasheet for Kyber768 PQClean
2019-03-20 12:50:22 -04:00
Christian Paquin
a7da6ec8ea Updated Picnic to v1.3.1 (#457)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Updated picnic to v1.3.1

* Renamed exposed picnic functions to satisfy OQS naming conventions.

* Replaced free functions with OQS's versions.

* Removed picnic's config.h do avoid conflict with OQS's.

* Updated Visual Studio project with latest Picnic files, and removed unused commented-out code.

* Removed some hardcoded picnic defines.

* Added oqs's common.h to aligned_alloc's includes.
2019-01-31 19:49:54 -05:00
cryptojedi
1e36f1f000 Add Kyber to master branch (#448)
* Added Kyber to the liboqs Master branch

* Added OQS_MEM_cleanse calls to Kyber

* Updated file formatting with make prettyprint

* Added algorithm datasheet for Kyber

* Added Kyber KAT files

* Copied kyber header file to Visual Studio dir.
2018-12-20 17:00:03 -05:00
Douglas Stebila
bd3f7002ae Typo 2018-10-22 11:07:42 -04:00
Douglas Stebila
c409ce6e78 Mark relevant functions with OQS_API 2018-10-19 15:54:28 -04:00
Douglas Stebila
67a2411ba4
Set version in configure, library, and algorithms (#411)
* Set version of liboqs master and add draft release notes

* Add alg_version field for KEMs and signature schemes

* Prettyprint

* Added alg_version for qtesla and picnic.

* Update versioning proposal
2018-10-12 19:20:58 -04:00
Shravan Mishra
bc4ebbaf2f
Merge pull request #412 from open-quantum-safe/master-newhope-consistent
Rename NewHope to NewHopeNIST to be consistent with nist-branch
2018-10-10 11:36:48 -04:00
Douglas Stebila
2b9a61789a
Clarify public versus internal API and documentation (#414) 2018-10-10 08:36:14 -04:00
Douglas Stebila
2f05262bf4 Rename NewHope to NewHopeNIST to be consistent with nist-branch 2018-10-09 21:49:11 -04:00
Douglas Stebila
84e8dcb119
Remove old OQS_RAND object and API (#403)
* Remove old RAND API, AES-CTR and ChaCha20-based RNGs, and test_rand.

* Fix build and API for shared libraries

* Fix problems from merge with master
2018-10-09 20:36:57 -04:00
Christian Paquin
9e09252304 Updated sig algs datasheets (#405)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Updated sig data sheet (copied from nist-branch).

* Updated ref to branch (nist-branch --> master)
2018-10-09 19:48:41 -04:00
Shravan Mishra
95cdb90059 Master add kem newhopenist (#382)
* Add newhope kem

* kem newhope

* Fix code for KAT

* Fix KAT target

* Add datasheet

* Fix parameter set

* Fix parameter set

* Formatting changes

* Add newhope to window's build

* Further windows changes and pretty-print

* ifdef gcc attribute syntax for windows

* Pretty print

* Fixed newhope's Visual Studion inclusion.

* Added missing files.

* Remove rng.h

* Added kem_newhope.h to the installed headers.
2018-10-09 19:47:30 -04:00
shravan
1750a33901 Merge master 2018-10-03 22:27:31 -04:00
Shravan Mishra
3dbd609e92 Master rm kex (#402)
* Remove kex_ntru from master (issue #370).

* Remove KEX components (issue #372).

* Remove anything kex

* Tweaks to READMEs re: removal of KEX.
2018-10-03 21:16:49 -04:00
Douglas Stebila
cd97391640 Move datasheet 2018-10-03 11:28:19 -04:00
Douglas Stebila
a7a45c9238 Fix minor build failures 2018-10-03 11:27:47 -04:00
Ben Davies
493e5ece37 Remove kex_code_mcbits (issue 371). (#384) 2018-09-21 15:48:17 +02:00
Ben Davies
ad361d95e8 Remove residual KEX sidh_msr (#369). (#385) 2018-09-21 12:58:37 +02:00
Christian Paquin
b4766939a9 Migrated SIDH to KEM API (issue 350) (#368)
* Exposed SIDH through KEM API.

* Removed old kex_sidh_msr refs

* Removed kex_sidh_msr refs from Visual Studio project

* Removed kex_sidh_msr from test_kex.

* Added sidh alg sheet

* Skip sidh in kat check (no kat files for sidh, unlike the related sike alg)

* Added return values to sidh KEM methods (to fix wrong default return values on mac).

* Addressed review comments on PR368.

* Removed text_kex from Visual Studio; no more KEX built by default on Windows.

* Removed test_kex from appveyor test.

* Removed minimal_kex from appveyor
2018-09-17 05:00:52 -04:00
Douglas Stebila
78a231247e Remove kex_rlwe_newhope 2018-09-04 16:09:29 -04:00
Nir Drucker
d3ff24cd31 Add BIKE to master and some autotools/Makefiles changes (#333)
* 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
2018-08-14 13:07:16 -04:00
Douglas Stebila
8ecc191cec
Make doxygen mandatory and fix undocumented functions / add deprecation notices (#329)
* Make doxygen mandatory and fix undocumented functions / add deprecation notices

* NTRU needs HAVE_BOOL in the right spot

* Add doxygen to Travis environment

* Prettyprint

* Doxygen build changes

* Doxygen / prettyprint incompatibility
2018-08-07 22:00:39 -04:00
Douglas Stebila
12f194cfcf Merge branch 'master-new-api' 2018-07-26 21:42:27 -04:00
Douglas Stebila
f5df1c159f
Remove kex_lwe_frodo and add kem_frodokem to master-new-api (#302)
* Remove kex_lwe_frodo

* Add FrodoKEM

* Prettyprint

* Missing liboqs.a

* Fix errors because of disabling frodokem

* Fix sike OQS_KEM_ prefix related inconsistencies

* Fix naming inconsistensies
2018-07-24 22:42:49 -04:00
Christian Paquin
67733d6840 Add qTESLA (#306)
* Added qTESLA (I, III-size, III-speed) to master branch.

* Renamed some qtesla functions to satisfy coding guidelines.

* prettyprint

* Removed const int value from array init, was failing on Travis/macOS.
2018-07-17 22:18:38 -04:00
Douglas Stebila
7f3d1b9e53
Add datasheet for SIKE (#301)
* Add tentative datasheet for SIKE

* Added submitter's website

Added submitter's website
2018-07-09 09:14:17 -04:00
Douglas Stebila
d39d15f892 Rename algorithm data sheets folder for consistency with nist-branch 2018-07-08 16:19:08 -04:00
Douglas Stebila
08330aee8b Remove KEX_RLWE_BCNS15 2018-07-08 16:10:56 -04:00
Douglas Stebila
e278842b49
Add new randomness API and various other build changes (#284)
* Move rand.h and rand.c to common directory and add most of RNG API from nist-branch

* Try to fix continuous integration errors

* Try fixing compilation bug on Windows

* Copy common.h and common.c from nist-branch

* Add OpenSSL PRNG if OpenSSL enabled

* Move common files around to match locations in nist-branch

* Add OpenSSL include to common build

* Only do prettyprint check on some Travis builds to shorten runtime

* Reorganize some files

* Missing variable in Travis config
2018-05-16 12:57:42 -04:00
Christian Paquin
bc3e9ff1a8 Removed SIDH CLN16 implementation (replaced with SIDH MSR). Added new datasheet. Fixed refs to SIDH header. 2018-01-08 12:36:46 -05:00
Christian Paquin
28cc05a886 Added datasheets for SIDH and Picnic. (#166) 2017-09-08 15:48:57 -04:00
Douglas Stebila
810651c4d2 Add algorithm datasheet for Frodo. 2017-01-13 22:27:45 -08:00
Alex Parent
35e53b038f Fixes for scan-build and make. (#69) 2016-12-13 11:19:28 -05:00