604 Commits

Author SHA1 Message Date
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
Christian Paquin
d55c59d087 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merged.
2019-03-27 09:38:51 -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
Christian Paquin
1fe3c0645a Merge branch 'master' of https://github.com/open-quantum-safe/liboqs 2019-03-25 20:17:53 -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
c3a4ba72e0 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream master.
2018-12-21 17:14:10 -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
Christian Paquin
b349f5317d Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merged with master.
2018-12-20 14:13:26 -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
f8edb018dd Merge remote-tracking branch 'upstream/master'
Merge with upstream.
2018-12-17 11:19:35 -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
Christian Paquin
1ed497ce64 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
merge upstream
2018-11-13 13:42:37 -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
Christian Paquin
771e3747d8 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge upstream.
2018-11-09 11:14:42 -05:00
Douglas Stebila
b7b824ab23 Update for rc3 2018-11-08 23:36:07 -05:00
Christian Paquin
754499d438 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream.
2018-11-06 10:38:54 -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
Christian Paquin
c3e05973b8 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream
2018-10-30 21:30:09 -04:00
Ben Davies
c142c8e390 Fixed typo in sig name. (#434) 2018-10-30 14:04:31 -07:00
Christian Paquin
e11714c3e1 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream.
2018-10-30 15:20:24 -04: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
Christian Paquin
29e0263ddc Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge upstream.
2018-10-30 12:13:37 -04: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
Christian Paquin
4f13e85856 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge master.
2018-10-26 13:25:56 -04:00
Douglas Stebila
9b1984d4e4 Update README formatting and list of systems tested on 2018-10-25 16:14:17 -04:00
Christian Paquin
dc8d70721a Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with master.
2018-10-23 10:17:13 -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
Christian Paquin
56d73ff483 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge master.
2018-10-22 19:35:02 -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
Christian Paquin
a44bd12ace Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with master.
2018-10-17 15:07:04 -04:00