441 Commits

Author SHA1 Message Date
Douglas Stebila
c2fa3b1b98 Auto-generate some KEM files for PQClean implementations 2019-05-10 16:05:27 -04:00
Douglas Stebila
d112a8a1b0
Merge pull request #475 from open-quantum-safe/ds-frodo-round2
Add FrodoKEM Round 2
2019-05-05 17:47:20 -04:00
Douglas Stebila
103791b942 Sync with latest FrodoKEM upstream to fix MS Visual Studio failure 2019-05-05 17:02:48 -04:00
Douglas Stebila
cfc4191926 Temporarily disable FrodoKEM 976 and 1344 on Windows 2019-05-01 16:28:17 -04:00
Christian Paquin
e7c4d36cc6 Merge branch 'ds-frodo-round2' of https://github.com/open-quantum-safe/liboqs into ds-frodo-round2
Merging conflicts.
2019-05-01 13:39:29 -04:00
Christian Paquin
6bd0bf7263 Added Frodo round2 to Visual Studio, temporarily disabling 976 and 1344 param sets. 2019-05-01 13:32:14 -04:00
Christian Paquin
4bbf309812 Modified OQS project to preserve the source hierarchy in output directory to avoid object file collisions. (#478) 2019-04-30 20:20:06 -04:00
Christian Paquin
f8eda4dce7 Temporarily removed Frodo round2 from Visual Studio build until properly integrated. 2019-04-26 08:17:20 -04:00
Christian Paquin
64c6af6921 Fix NULL init of KEM and Sig contexts (#477)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Added check for NULL method name in KEM/Sig context generation. Avoids a crash in the following strcasecmp if NULL is passed as argument.
2019-04-24 13:10:48 -04:00
Douglas Stebila
022df9351a Pretty-print 2019-04-14 17:35:57 -04:00
Douglas Stebila
e3a0340e52 Rename NewHope KAT files 2019-04-14 16:24:09 -04:00
Douglas Stebila
8fe4928dd6 Add FrodoKEM-976 and 1344 to build system 2019-04-14 16:24:03 -04:00
Douglas Stebila
c8626abc77 Copy FrodoKEM-1344 from PQClean 2019-04-14 16:08:10 -04:00
Douglas Stebila
e4451b9274 Fix FrodoKEM-640-AES 2019-04-14 16:06:39 -04:00
Douglas Stebila
19251c41ad Remove FrodoKEM round 1 and start adding FrodoKEM round 2 2019-04-13 15:24:52 -04:00
Vlad Gheorghiu
a8b6c2c1d6 Update appveyor.yml (#470) 2019-03-26 21:14:09 -04:00
Tobias Heider
7005a1d07f Add support for building on OpenBSD (#471) 2019-03-26 21:13:11 -04:00
Christian Paquin
0c32a7000e Fixed SIDH key generation (#472)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Fixed SIDH key generation (issue 469).
2019-03-26 20:46:13 -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
Douglas Stebila
e0eda13ca8
Add build scripts and continuous integration for ARM (#460)
* Scripts for ARM build

* Set permissions

* Fix ARM script bugs

* Fix typo

* Tweak ARM build

* Update README with ARM build instructions
2019-02-12 16:42:34 -05: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
himsen
35c0fd5b19 Specified the intended use of liboqs default algorithms (#455) 2019-01-04 13:15:43 -05:00
Christian Paquin
01be6694ed Added Kyber to Windows build. (#453)
* 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.

* Added kyber to Visual Studio
2018-12-21 13:07:51 -05:00
Douglas Stebila
d6e311fe94
Update list of contributors 2018-12-20 17:02:35 -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
cryptojedi
570484a9f1 Smallfixes (#447)
* Removed unnecessary file fips202.h in NewHope implementation

* Added memory-cleansing for NewHope

* Changed return values of frodo API functions from 0 to OQS_SUCCESS

* Added missing #include

* File formatting updated with make prettyprint
2018-12-19 16:43:41 -05:00
Christian Paquin
0f8b8d1fbb Adds functions to count the number of supported KEMs/sigs (#449)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Added a function to get the number of supported KEM/sig mechanisms

Useful non-C wrappers who don't have access to the OQS_KEM/SIG_algs_length macro value in the kem/sig.h.
2018-12-17 09:55:24 -05:00
Douglas Stebila
499a587b55 Update for 0.1.0 release master-0.1.0 2018-11-13 11:30:09 -05:00
Douglas Stebila
e3ae7b5496
Add ARM instructions to README.md (#443) 2018-11-10 08:14:09 -05:00
Douglas Stebila
b7b824ab23 Update for rc3 2018-11-08 23:36:07 -05:00
Douglas Stebila
e4bce8b3ec Update documentation for 0.1.0-rc2 2018-11-05 15:17:58 -05:00
Douglas Stebila
e365ea4f14
Rename OQS' config.h to oqsconfig.h and separate autoconf variables (#437)
* Create separate public oqsconfig.h

* Fix compiler flags for BIKE additional implementation

* No BIKE reference implementation macro
2018-11-01 11:11:31 -07:00
Ben Davies
c142c8e390 Fixed typo in sig name. (#434) 2018-10-30 14:04:31 -07:00
Christian Paquin
d3c5a157b5 Add version and branch to config on master branch (#433)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Added version and branch info to configure script.
2018-10-30 11:01:42 -07:00
Nir Drucker
88d2a75771 Adapting BIKE2 to the new OpenSSL API (#430)
* Supporting BIKE KEM reference code

* Hiding print global symbol when VERBOSE!=2

* Supporting USE_OPENSSL + OPENSSL_DIR

* Rename functions by using a legend instead of the FN() macro

* prettyprint

* Fixing the bug caused by OpenSSL GF2m_mod_inv API change in 1.1* see https://github.com/open-quantum-safe/openssl/issues/42 for more details.
2018-10-27 11:28:34 -04:00
Douglas Stebila
9b1984d4e4 Update README formatting and list of systems tested on 2018-10-25 16:14:17 -04:00
Christian Paquin
ac7a274b4d Removed BIKE-specific OQS status code (master) (#426)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Removed BIKE-specific OQS status code (issue 421).
2018-10-22 20:54:30 -04:00
Douglas Stebila
bd3f7002ae Typo 2018-10-22 11:07:42 -04:00
Douglas Stebila
d3a8f62045 Fix function names in SIKE 2018-10-19 16:13:16 -04:00
Douglas Stebila
94b9cddf6f Fix typo 2018-10-19 16:04:45 -04:00
Douglas Stebila
85d7bbb8f1 Prettyprint 2018-10-19 15:56:32 -04:00
Douglas Stebila
c409ce6e78 Mark relevant functions with OQS_API 2018-10-19 15:54:28 -04:00
Christian Paquin
8e060a720a Fix Visual Studio DLL projects (#419)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Updated the dll def file after OQS's refactoring, fixed test_kem's DLL projects config, and added ReleaseDLL config to appveyor.
2018-10-19 15:25:44 -04:00
Douglas Stebila
85b1cbb5ec
Sync master with nist-branch, including sorting algorithms (#418)
* Sync master with nist-branch, including sorting algorithms

* Forgot to declare function before use
2018-10-14 15:31:22 -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
c8a649e1a6 Naming consistent between code and algorithm datasheets 2018-10-09 22:49:09 -04:00
Douglas Stebila
251f016aca Forgot to rename file in Makefile for NewHopeNIST 2018-10-09 22:19:39 -04:00
Douglas Stebila
2f05262bf4 Rename NewHope to NewHopeNIST to be consistent with nist-branch 2018-10-09 21:49:11 -04:00