2 Commits

Author SHA1 Message Date
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
Tancrède Lepoint
c1568a137d Clang format instead of astyle (#84)
* replacing astyle by clang-format #56

* sh instead of bash

* sudo required now...

* prettyprint with clang-format

* debugging clang format

* order of include mattered in newhope

* trying again

* order in mcbits too

* includes in mcbits

* Trying again

* Change makefile for clangformat

* removing conditionals in makefile

* Order of include in mcbits:

* CLANGFORMAT for linux and macOS

* CLANGFORMAT for linux and macOS

* CLANGFORMAT for linux and macOS

* Warning of clang
2017-01-11 09:52:10 -05:00