12 Commits

Author SHA1 Message Date
Douglas Stebila
13b5bb5896 Fix macros so AES version compilation actually works 2019-06-20 20:58:16 -04:00
Duncan Jones
1084a8d57d Link main liboqs library to OpenSSL when enabled 2019-05-16 08:44:41 +01: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
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
b1cee208e6 Merge branch 'master' into master-sync-with-nist 2018-10-03 12:44:31 -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
a7a45c9238 Fix minor build failures 2018-10-03 11:27:47 -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
Shravan Mishra
18365bf828 Add KAT checks (#348)
* Enable KAT-check

* Add check_kats script

* Add kat kem checks

* Make pretty print happy

* Update travis

* Update .gitignore

* Add kat-check to travis

* Fix path in  kat-check

* Add -lm for kat

* Update travis.yml

* If algorithm is not enabled then kat check should not throw errors

* Prevent code duplication

* Add new kat files and modified script from nist-branch for bike

* Don't fail if algorithm not enabled

* Add rand_nist.c to VisualStudio build (manually edited VS files)

* Remove rand_nist.c from windows build

* Disable rand nist for windowa

* Fix
2018-09-04 21:36:07 -04:00
Douglas Stebila
588511fa59
Switch automake to using check for test programs that aren't installed (#353)
* Switch automake to using check for test programs that aren't installed

* Fix image embedding for AppVeyor badge
2018-08-30 15:06:27 -04:00
Douglas Stebila
453516248b
Move tests to a common directory (#335) 2018-08-14 17:00:29 -04:00