Commit Graph

278 Commits

Author SHA1 Message Date
Thom Wiggers
f0802078ef
Merge pull request #27 from PQClean/ds-unittest
Python-driven test framework using nose for unit tests
2019-02-14 14:22:41 +01:00
Thom Wiggers
3b73ea134d
Formatted everything with astyle
clang-format was not flexible enough to allow lining out things on
columns with spaces.
2019-02-14 14:08:16 +01:00
Douglas Stebila
72d514a6fe Call nose differently and add test documentation 2019-02-13 22:31:37 -05:00
Douglas Stebila
012b96c519 Typo 2019-02-13 22:27:24 -05:00
Douglas Stebila
f64a7e0dd4 Reimplement Python tests using nose framework 2019-02-13 22:25:34 -05:00
Thom Wiggers
8dcf6529b8
Merge pull request #23 from PQClean/32-bit
Run 32-bit tests
2019-02-11 15:25:27 +01:00
Thom Wiggers
1f9da4b711
Run 32-bit tests 2019-02-11 15:15:48 +01:00
Thom Wiggers
27a0eb47eb
Fix loading META.yml on Py35 2019-02-11 14:48:16 +01:00
Thom Wiggers
29765b0adc
Postpone Clang on PPC
There is an issue with libclang-common-dev [0]

[0]: should be on https://lists.debian.org/debian-powerpc/2019/02/
2019-02-11 14:08:53 +01:00
Thom Wiggers
39b51965e8
Switch to new PPC repository and run Clang on PPC 2019-02-11 13:07:43 +01:00
Thom Wiggers
fe46514836
Include full clangformat config.
Hopefully stabilizes behaviour between versions.
2019-02-11 10:05:54 +01:00
Peter Schwabe
69e593427a Removed need for aligned types (which are not portable)
Resolves #22
2019-02-11 09:41:32 +01:00
Peter Schwabe
06b4279e0a Merge commit 'HEAD@{1}' (modified PR 17) 2019-02-11 08:57:05 +01:00
Peter Schwabe
bf17b28d9d Fixed tabs in Makefile, removed gcc-specific alignment of poly 2019-02-11 08:26:26 +01:00
Douglas Stebila
522826a090
enable undefined behaviour sanitizer (#19)
enable undefined behaviour sanitizer
2019-02-10 16:02:51 -05:00
Douglas Stebila
86e61d853a
Adds list of required dependencies (#20)
Adds list of required dependencies
2019-02-10 16:00:19 -05:00
a28c4c878e Adds list of requireddependencies 2019-02-09 18:31:38 +00:00
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