115 Commits

Author SHA1 Message Date
Douglas Stebila
c6da8e5af0 Update README with brew instructions on macOS. 2017-02-08 22:40:23 -05:00
Douglas Stebila
fa0e98eb72 Add public key sizes to benchmarking table
Closes #73 .
2017-02-08 22:39:40 -05:00
Douglas Stebila
09cff0d2fd Autotools (#99)
* Autotools infrastructure

* update for autotools

* Readme update

* More gitignore updates

* Make prettyprint.

* Formatting in README.

* Makefile cleanups
2017-02-08 12:16:28 -05:00
Tancrède Lepoint
d74a252ae8 Fix clang warnings (#98) 2017-02-06 09:33:00 +10:00
Christian Paquin
f2c7538498 Call OQS entropy collection api in NTRU (#97)
* NTRU now calls OQS entropy collection api instead of dev/urandom
2017-01-31 10:48:24 +10:00
Christian Paquin
76e8675970 System entropy refactoring proposal (#96)
* Moved the entropy collection (dev/urandom, Windows CAPI) calls to a shared function in rand lib.
2017-01-30 09:54:51 +10:00
Christian Paquin
8a09a124ef Enable ntru on windows (#95)
* Enabled NTRU on Windows. The library must be obtained separately to be compiled in; see README.
2017-01-30 09:52:57 +10:00
Christian Paquin
e98ddd13ab Fix windows build after clang format refactoring (#94)
* Swapped back the order of the windows include files to fix the Visual Studio build.
2017-01-27 10:34:00 +10:00
Douglas Stebila
810651c4d2 Add algorithm datasheet for Frodo. 2017-01-13 22:27:45 -08:00
Alex Parent
94a49529a6 Add option to build with NTRU (#85)
* Enable NTRU

* Add NTRU to Travis build.

* prettyprint

* Rename build script

* Try to avoid Travis failure

* Add NTRU to build on macOS and change linking.

* Fix Travis build for NTRU.

* Add NTRU to README.md (and update some other aspects too).
2017-01-12 13:49:07 -05: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
Tancrède Lepoint
669f1aee5e Solves #81: dir was not created (#83) 2016-12-30 20:56:01 -05:00
Tancrède Lepoint
091b1882a5 Add test_aes to README (#82) 2016-12-30 16:58:55 -05:00
Tancrède Lepoint
540e6353e8 Travis revisited (still with astyle) and nicer makefile output (#80)
* Reorganize travis directory

* Format astyle

* correcting wrong filename

* correcting the install script

* Delete dSYM directories in Makefile

* Source not bash

* Cuter Makefile output

* Correcting the script

* bash functions needs to return numeric values

* can use bash rather than source

* Remove the return statement...
2016-12-30 16:58:28 -05:00
Christian Paquin
88d18d7d49 Enable McBits on Windows (#78) 2016-12-22 11:27:29 -05:00
Christian Paquin
fe14bf7ccd Enable McBits on Windows (#77) 2016-12-22 09:18:49 -05:00
Alex Parent
6098c7f32b Add wrapper around mcbits. (#67) 2016-12-20 21:38:45 -05:00
Christian Paquin
5bfeb0887e Enables ASM mode for SIDH (#66) 2016-12-15 11:49:09 -05:00
Christian Paquin
6c8562ab6f Fix SIDH memory allocation (#70) 2016-12-14 15:50:04 -05:00
Alex Parent
73b35017eb Add quiet and bench options for test_kex. (#74)
Closes #71
2016-12-13 22:48:30 -05:00
Christian Paquin
79c0cb2af8 Fix windows build for lwe frodo (#72)
* Fixed const-length array initializers that did not compiled on Windows.

* Cleaned up compilation switch on WINDOWS.

* Prettyprint.
2016-12-13 12:59:31 -05:00
Alex Parent
35e53b038f Fixes for scan-build and make. (#69) 2016-12-13 11:19:28 -05:00
Douglas Stebila
55f0be9a61 Add algorithm data sheets in new docs folder. 2016-12-12 14:49:28 -05:00
Douglas Stebila
adcfddd423 Prettyprint. 2016-12-12 14:43:49 -05:00
Douglas Stebila
28b5b3be39 Change benchmarks to output Markdown-formatted tables. 2016-12-12 14:41:03 -05:00
Douglas Stebila
adf5aa3d78 Fix compilation problem on macOS using gcc. 2016-12-12 14:40:49 -05:00
Alex Parent
c5382941ae Clean up and optimize Frodo implementation (#60) 2016-12-07 19:32:25 -05:00
Christian Paquin
36ae6bf418 Fixes Visual Studio projects after crypto re-factoring (#68) 2016-12-05 21:00:58 -05:00
Alex Parent
b7c3e86cb9 Merge pull request #62 from aparent/sha3
Factor out Sha3
2016-12-01 14:13:22 -05:00
Alex Parent
dc69b4426f Reorganize common crypto code. 2016-11-28 16:23:00 -05:00
Alex Parent
4764de9963 Factor out SHA3 from msrln16. 2016-11-28 11:18:59 -05:00
Alex Parent
8f706feb47 Factor out SHA3 from newhope. 2016-11-28 11:18:59 -05:00
Alex Parent
d23f8d3edd Fix possible memory leaks. 2016-11-25 17:43:55 -05:00
Douglas Stebila
fcbc380970 Rename file. 2016-11-24 16:16:04 -05:00
Douglas Stebila
d94b54e99f Rename file. 2016-11-24 16:15:46 -05:00
Christian Paquin
7babc31f8b Integrates MSR's SIDH library into OQS (#59) 2016-11-24 16:13:50 -05:00
Douglas Stebila
76a3480df5 Update README.md. 2016-11-23 12:35:55 -05:00
Douglas Stebila
9705212671 Update README.md. 2016-11-23 11:08:06 -05:00
Christian Paquin
7fcf29d37f Integrates MSR's RLWE Latticecrypto library into OQS. (#58) 2016-11-23 11:06:54 -05:00
Alex Parent
04b841ca2c Remove statements which have no affect. (#51) 2016-11-21 20:37:35 -05:00
Alex Parent
5921e74587 Fix double memset_s. 2016-11-20 15:14:06 -05:00
Alex Parent
8901962d40 Add function for zeroing memory. 2016-11-20 15:14:06 -05:00
Alex Parent
6e033165ad Merge pull request #57 from aparent/doc
Add AES documentation.
2016-11-20 15:11:58 -05:00
Alex Parent
3e68b61a56 Merge pull request #53 from aparent/travis
Revert the previous change in 250681196f
2016-11-20 15:11:47 -05:00
Alex Parent
e5a2360ef0 Add AES documentation. 2016-11-17 16:06:16 -05:00
Alex Parent
96ff4c2bd2 Write the name of the test which was was passed. 2016-11-17 15:24:10 -05:00
Alex Parent
4c3ec162af Remove -E option from find.
Not necessary for the regex and not compatible with the linux(GNU)
version of find.
2016-11-16 11:02:25 -05:00
Alex Parent
20b1f0809a Revert the previous change in 250681196f
Make style check fail when astyle fails.
2016-11-14 18:50:31 -05:00
Alex Parent
250681196f Speedup Travis and reduce build errors by installing astyle as a package. 2016-11-14 14:07:40 -05:00
Douglas Stebila
e937a6a664 Add Travis check for banned functions.
bzero not supported on Windows
2016-11-10 15:01:30 -05:00