414 Commits

Author SHA1 Message Date
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
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
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
Douglas Stebila
97ed95da21 Sync more common files on master with nist-branch 2018-10-03 12:47:17 -04:00
Douglas Stebila
b1cee208e6 Merge branch 'master' into master-sync-with-nist 2018-10-03 12:44:31 -04:00
Douglas Stebila
7772e7ab7c Remove duplicate macOS Travis target 2018-10-03 11:59:07 -04:00
Douglas Stebila
79d77d3617 Sync common signature files on master with nist-branch 2018-10-03 11:56:54 -04:00
Douglas Stebila
049f50b876 Sync SIG common files on master with nist-branch 2018-10-03 11:41:34 -04:00
Shravan Mishra
d6bfc7384c Shared library support added (#363)
* Shared library support added

* Ignore warnings regrading no symbols in object files on Mac

* Fix a typo

* Add libtool flag to bike

* Test

* Fix static build flag

* Whitespace

* Separate tests into two parts one exercising exposed api versus intertnal apis

* Openssl include fix

* Fix all-tests.sh

* test already builds kat_kem

* Indentation and variable name change
2018-10-03 11:36:15 -04:00
Douglas Stebila
1411a7d8a8 Sync KEM common files on master with nist-branch 2018-10-03 11:35:34 -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
Douglas Stebila
99e594d65e Update funding acknowledgements in README. 2018-10-03 10:44:31 -04:00
Douglas Stebila
7fa2f8bf95 Sync common headers on master with nist 2018-10-02 17:26:22 -04:00
Douglas Stebila
5135f5c0cd Sync scripts/check_kats on master with nist 2018-10-02 17:10:13 -04:00
Douglas Stebila
69765b6d50 Sync .travis on master with nist-branch 2018-10-02 17:04:25 -04:00
Christian Paquin
76538fde13 Update to Visual Studio (Sept 2018) (#395)
* Added example_kem/sig and speed_kem/sig to Visual Studio.

* Added kat_kem to VS

* Re-added SIDH/SIKE to Visual Studio
2018-10-01 16:22:23 -04:00
Christian Paquin
dc9617f81f Refactored sig api following nist-branch (issue380) (#391)
* Fixed a typo in a comment

* Refactored sig API following nist-branch (also fixes issue 380)

* Fixed Windows compilation error in sig.c.

* Added Picnic to Windows' config, and changed defaul alg to Picnic (since qTesla is not yet supported on Windows)

* Moved sig_picnic and sig_qtesla under sig directory, to harmonize with kem api

* Use different default sig alg on Windows to fix Travis back-compat tests and platform gap.

* Further changes required for OQS to be properly used by applications

* Compare OQS functions's return values to OQS error codes in sig.c.

* Fixed typos in comments.

* Replaced minimal_oqs_sig with example_sig.

* Ensure travis tests fail on error

* Add try-catch block in all-tests.sh

* Ignore example_sig

* Point global-namespace-check to .libs/liboqs.a

* More precise error handling in global-namespace-check

* Warning colours in travis tests and error handling in free-check

* Error handling in style-check

* Clean up style-check

* Removed leftover minimal_sig_oqs ref and VS projects.

* Prettyprint

* Revert clang-format version check

* Re-revert clang-format style check

* Prettyprint

* Added speed_sig to master.

* Removed superfluous extern from sig schemes .h
2018-09-26 10:01:53 -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
9b27edb54e Remove KEX-related items from Visual Studio (#383)
* Removed KEX from Visual Studio.

* Removed further refs to KEX items in Visual Studio.
2018-09-21 12:54:11 +02:00