Commit Graph

1066 Commits

Author SHA1 Message Date
Thom Wiggers
59792522ae
Update Makefile to only include tests that are not in Python yet 2019-02-28 16:17:06 +01:00
Thom Wiggers
73197c6516
Add sanitizers to functests 2019-02-28 16:17:06 +01:00
Joost Rijneveld
66f0ba9d95
Merge pull request #65 from thomwiggers/containerized-build-circleci
Move builds to CircleCI build service
2019-02-28 16:14:58 +01:00
Thom Wiggers
760de42e13
Add status badges 2019-02-28 16:05:45 +01:00
Thom Wiggers
97b298a04e
Only build OS X on travis 2019-02-28 16:01:06 +01:00
Thom Wiggers
6999e34820
Add circleci
Build on circleci, should be much faster.
2019-02-28 15:58:47 +01:00
Thom Wiggers
f3e38dbfb2
Merge pull request #62 from PQClean/functestunalign
Un-align input byte arrays to catch assumptions about data alignment
2019-02-28 15:57:06 +01:00
Joost Rijneveld
da90b709d3
Merge pull request #58 from PQClean/containerized-build
Greatly simplify container builds
2019-02-28 15:56:54 +01:00
Thom Wiggers
79a1da56b4
Remove duplicate language line 2019-02-28 15:05:55 +01:00
Thom Wiggers
3c81f6940d
Stupid typo 2019-02-28 13:42:04 +01:00
Thom Wiggers
7c5e671dac
Should fix the i386 build 2019-02-28 13:42:04 +01:00
Thom Wiggers
32445f815d
The 'language: minimal' should have docker 2019-02-28 13:42:04 +01:00
Thom Wiggers
d06d8b34c1
Fix typo in container, fix mac builds 2019-02-28 13:42:04 +01:00
Thom Wiggers
c0e4cac831
Greatly simplify container builds 2019-02-28 13:42:04 +01:00
Thom Wiggers
bd65daa615
Merge pull request #61 from PQClean/windows-W4
Set windows warnings to W4
2019-02-28 13:24:57 +01:00
Matthias J. Kannwischer
27344bd7ca un-align pointers. Resolves #24 2019-02-28 09:15:09 +01:00
Douglas Stebila
0fa56021d1
Faster check of makefile dependencies (#59)
Faster check of makefile dependencies
2019-02-27 11:46:34 -05:00
Thom Wiggers
b7bc9b6cb0
Cast a value in notrandombytes.c 2019-02-27 17:18:07 +01:00
Joost Rijneveld
81f8c9fd14
Make appveyor badge point to correct branch 2019-02-27 17:16:50 +01:00
Thom Wiggers
58aba49ca2
take out assignment in conditional because windows is not happy about it 2019-02-27 17:08:59 +01:00
Thom Wiggers
ea19211d21
Cast size_t to DWORD on Windows 2019-02-27 17:06:27 +01:00
Thom Wiggers
06955dfc21
Explicit casts in conversions 2019-02-27 16:19:00 +01:00
Thom Wiggers
4d4504ac20
Set windows warnings to W4 2019-02-27 16:00:06 +01:00
Thom Wiggers
6f992f370f
Add sanity check to not just see if the scheme always rebuilds 2019-02-27 15:29:20 +01:00
Thom Wiggers
e29de416fb
Faster check of makefile dependencies
We do not actually need to compile the files.
2019-02-27 15:27:41 +01:00
Thom Wiggers
2b381e9a78
Merge pull request #54 from PQClean/no-dynamic-memory-allocations
Detect use of dynamic memory allocation functions
2019-02-27 14:24:11 +01:00
Joost Rijneveld
2a1d6a1049
Check box wrt symbolic link check 2019-02-27 14:18:29 +01:00
Joost Rijneveld
72007d3847
Detect use of dynamic memory allocation functions 2019-02-27 13:59:00 +01:00
Joost Rijneveld
0e180fa406
Merge pull request #52 from PQClean/dont_always_make_clean
Don't always Make clean; Undoes a7328f8

The intention of this build rule is not to do a clean build, but to make sure the files in the target scheme are up to date when running the tests.
2019-02-27 12:51:02 +01:00
Thom Wiggers
94224fb02c
Don't always Make clean
Undoes a7328f827c
2019-02-27 11:29:39 +01:00
Thom Wiggers
8e4747a75d
Merge pull request #51 from PQClean/namespace-incl-implementation
Include name of implementation in namespace
2019-02-27 11:18:22 +01:00
Joost Rijneveld
0348ff7a11
Also include implementation namespace in Makefiles 2019-02-27 09:18:38 +01:00
Joost Rijneveld
879574b695
Include name of implementation in namespace 2019-02-27 09:18:38 +01:00
Douglas Stebila
2cb4cae4a4 Wrong source file for building functional tests 2019-02-26 20:46:09 -05:00
Thom Wiggers
b81652e9e4
Merge pull request #48 from PQClean/ds-check-makefile-dependencies
Add test to check that every .c / .h file triggers a library rebuild
2019-02-26 07:43:07 +01:00
Douglas Stebila
2db9f22aac Compute touch timestamps in Python 2019-02-25 23:42:48 -05:00
Douglas Stebila
50801485f0 Add test to check that every .c / .h file triggers a library rebuild 2019-02-25 23:28:37 -05:00
Douglas Stebila
657a516846
Build functional tests and test vectors on Windows continuous integration (#47)
Build functional tests and test vectors on Windows continuous integration
2019-02-25 21:59:47 -05:00
Douglas Stebila
5f3e8ca2d5 Build functional tests and test vectors on Windows continuous integration 2019-02-25 21:40:43 -05:00
Douglas Stebila
a7328f827c Force rebuilding implementation when building test files 2019-02-19 10:02:25 -05:00
Thom Wiggers
d7b2d63a89
Merge pull request #44 from henrydcase/kris/gh33
Enable address and UB sanitizers
2019-02-19 12:37:04 +01:00
eb4d7cb69a Enable address and UB sanitizers
This enables address sanitizer and undefined behaviour sanitizer,
but disables leak detection sanitizer.
It seema there is an issue in qemu that we are using, which prevents
spawning leaksanitizer's tracer thread. But as leak detection is
already done by valgrind on x86 build, this functionality is not
absolute need at the moment.
2019-02-19 10:39:44 +00:00
Douglas Stebila
19ebdd9ab4
Test for symbolic links (#42)
Test for symbolic links
2019-02-18 11:16:00 -05:00
Joost Rijneveld
2fbd02a076
Test for symbolic links
We disallow symbolic links to ensure implementations are standalone
and more portable.
2019-02-18 16:49:44 +01:00
Douglas Stebila
391b9dd6df
Add dependency to header files in Makefile (#41)
Add dependency to header files in Makefile
2019-02-18 10:48:51 -05:00
Douglas Stebila
80c938ec67
Migrate test vector checks to pythonic testing framework (#40)
Migrate test vector checks to pythonic testing framework
2019-02-18 10:38:39 -05:00
Douglas Stebila
d07ce6389d Merge branch 'ds-test-vectors' into ds-make-headers 2019-02-18 10:24:10 -05:00
Douglas Stebila
0eb589ba2f Minor tweaks 2019-02-18 10:23:08 -05:00
Douglas Stebila
5297954630 Add dependency to header files in Makefile 2019-02-18 10:19:07 -05:00
Douglas Stebila
ae05ec9eba Merge branch 'master' into ds-test-vectors 2019-02-18 10:11:38 -05:00