434 Commits

Author SHA1 Message Date
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
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
Christian Paquin
3dc0fef8c7 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with upstream.
2018-10-13 12:58:51 -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
Christian Paquin
daa8b5ab80 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with master.
2018-10-12 11:40: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
Christian Paquin
095620786c Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merged upstream.
2018-10-10 09:54:23 -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
Douglas Stebila
1dd91950bf
Remove execute permissions from source files (#409) 2018-10-09 20:42:33 -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
oittaa
654e2e5af3 Use getentropy() if available (#407)
* Check if getentropy exists in configure.ac

* Use getentropy in rand.c if available

* rand.c: try to fix broken osx

* Use /dev/urandom with broken operating systems

* Enable getentropy on macOS

* Don't include <sys/random.h> on Windows

* getentropy needs different header on old Linux versions

* Move getentropy check to different autoconf file
2018-10-09 20:36:26 -04:00
Christian Paquin
4f32761b5c Check KEM KAT files in appveyor (#406)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Check generated KAT files in appveyor.
2018-10-09 19:49:30 -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
Christian Paquin
63015e3817 Merge branch 'master' of https://github.com/open-quantum-safe/liboqs
Merge with master.
2018-10-05 10:47:15 -04:00
Shravan Mishra
fa7cf526e0
Merge pull request #397 from open-quantum-safe/master-sync-with-nist
Sync common files on master with nist-branch
2018-10-03 22:43:53 -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