Commit Graph

561 Commits

Author SHA1 Message Date
d781d0d6ed enable undefined behaviour sanitizer 2019-02-09 01:09:46 +00:00
Douglas Stebila
3203f115e5 Remove GNUmakefile for Dilithium 2019-02-08 10:07:05 -05:00
Douglas Stebila
157977258c Make makefiles for Dilithium consistent with merged Kyber makefiles 2019-02-08 10:06:07 -05:00
Douglas Stebila
f1f0c1d332 Merge branch 'master' into make-dilithium 2019-02-08 10:02:24 -05:00
Douglas Stebila
2e7c1d7481
Add local GNU Makefile and Windows nmake Makefile for kyber768 (#13)
Add local GNU Makefile and Windows nmake Makefile for kyber768
2019-02-08 09:59:21 -05:00
Douglas Stebila
361c38a47a Update README to refer to common Makefile 2019-02-08 09:45:50 -05:00
Douglas Stebila
24e28e3402 Use a single Makefile for BSD and GNU Make and add comments 2019-02-08 09:42:53 -05:00
Douglas Stebila
0703346ddc
Remove signature makefiles 2019-02-07 10:01:06 +01:00
Douglas Stebila
4f14ce17c9
Fix Windows build for dilithium-iii 2019-02-07 10:01:06 +01:00
Douglas Stebila
19b25d47ed
Add Makefiles for dilithium-iii 2019-02-07 10:01:06 +01:00
Douglas Stebila
46ba607eba
Update README.md with information about Makefiles and Windows CI 2019-02-07 10:01:06 +01:00
Douglas Stebila
2d684ea323
Revert temporary error 2019-02-07 10:01:06 +01:00
Douglas Stebila
5d931897e6
Temporary check that errors really make the build fail 2019-02-07 10:01:06 +01:00
Douglas Stebila
b096330808
First attempt at appveyor configuration 2019-02-07 10:01:06 +01:00
Douglas Stebila
7c0ecc0cdb
Create nmake file for building on Windows and fix compilation error 2019-02-07 10:01:06 +01:00
Douglas Stebila
e98d053623
Rename 2019-02-07 10:01:06 +01:00
Douglas Stebila
4a387d7896
Rename GNU Makefile 2019-02-07 10:01:06 +01:00
Douglas Stebila
84d8d5a6c2
Clean up Makefile 2019-02-07 10:01:05 +01:00
Douglas Stebila
da2667a846
Add local Makefile for kyber768 2019-02-07 10:01:05 +01:00
Thom Wiggers
70c5e535bb
Fix accidentally deleted line
I shouldve run `make -B test-all`.
2019-02-07 09:59:28 +01:00
Douglas Stebila
5eb7485a01 Fix Windows build for dilithium-iii 2019-02-06 21:14:10 -05:00
Douglas Stebila
7ea8e508a3 Add Makefiles for dilithium-iii 2019-02-06 21:02:34 -05:00
Douglas Stebila
b6a40cebe7 Update README.md with information about Makefiles and Windows CI 2019-02-06 20:53:21 -05:00
Douglas Stebila
dcc18d9b66 Revert temporary error 2019-02-06 20:24:26 -05:00
Douglas Stebila
c22d445e98 Temporary check that errors really make the build fail 2019-02-06 20:22:59 -05:00
Douglas Stebila
fec2b5a97a First attempt at appveyor configuration 2019-02-06 19:26:18 -05:00
Douglas Stebila
e914d18696 Create nmake file for building on Windows and fix compilation error 2019-02-06 18:37:50 -05:00
Douglas Stebila
06223ecb3a Rename 2019-02-06 12:46:50 -05:00
Douglas Stebila
d6d7217742 Rename GNU Makefile 2019-02-06 12:41:55 -05:00
Douglas Stebila
da6dd5f792 Clean up Makefile 2019-02-06 12:22:58 -05:00
Thom Wiggers
59f92730cf
Include an actually random version of randombytes 2019-02-06 17:20:31 +01:00
Joost Rijneveld
a9e7e904d3
Run tests on userspace-emulated PowerPC
This has the downside of not supporting running tests on Valgrind, see
the discussion in issue #15. However, this does test quite a lot
already.

This uses the docker container defined in
https://github.com/thomwiggers/debian-unstable-powerpc/.

Co-authored-by: Thom Wiggers <thom@thomwiggers.nl>
2019-02-05 11:06:42 +01:00
Thom Wiggers
a8aa346912
Use python3-yaml instead of pip on Linux. 2019-02-05 11:03:10 +01:00
Thom Wiggers
11a2a45193
Add names to builds 2019-02-05 11:02:07 +01:00
Douglas Stebila
65918c0fa8 Add local Makefile for kyber768 2019-02-01 20:58:26 -05:00
Thom Wiggers
e7e4635b69
Fix SUPERCOP url 2019-01-29 17:46:14 +01:00
Matthias J. Kannwischer
3b47fb2db7 check for license files 2019-01-29 17:45:37 +01:00
Thom Wiggers
bdf12d8258
check_metadata.py should run with python 3 2019-01-29 17:38:19 +01:00
Thom Wiggers
c2747e6860
Further fix the zero return codes for bad kem ops 2019-01-29 17:32:30 +01:00
Thom Wiggers
66d5284e43
Fix specification of current implementations
See #2
2019-01-29 17:25:55 +01:00
Thom Wiggers
8fe988fe51
Check META files (closes #6) 2019-01-29 17:25:29 +01:00
Thom Wiggers
0c65364f34
Remove obsolete SHA3 hash from META.yml files.
We moved to SHA256 for compatibility with older versions of Python 3, and this hash is thus unchecked. It will only get out of date, so it seems better to remove it.
2019-01-29 16:39:27 +01:00
Thom Wiggers
37be4a2044
Don't fail if decapsulating with wrong keys doesn't return -1
Closes #11
2019-01-29 16:05:55 +01:00
Thom Wiggers
31449679bd
Partially validate return codes 2019-01-23 13:09:18 +01:00
Thom Wiggers
3549be95f5
Don't install Python 3 on Travis OSX
It's already available. Should speed up the build a small bit
2019-01-23 12:45:32 +01:00
Thom Wiggers
52671df19e
don't run the symbol namespace check on OSX 2019-01-23 12:42:52 +01:00
Thom Wiggers
879b804da5
Use $(CC) instead of gcc 2019-01-23 12:37:00 +01:00
Thom Wiggers
07ca665f0b
Don't run Valgrind on OSX
It's poorly supported and reports false positives (See also #10)
2019-01-23 12:36:35 +01:00
Thom Wiggers
b657d988b4
Add success output to check_symbol_namespace
Otherwise Make is vague if it did anything
2019-01-23 12:12:08 +01:00
Thom Wiggers
e19a0a3afa
Add debugging symbols for Valgrind
We need to use find loops to exclude *.dSYM folders created by -g on
OSX.
2019-01-23 12:11:09 +01:00