Thom Wiggers
facc293a21
Add format tests to python tests
2019-02-28 17:06:44 +01:00
Joost Rijneveld
0348ff7a11
Also include implementation namespace in Makefiles
2019-02-27 09:18:38 +01:00
Douglas Stebila
fde02ce2b1
Migrate test vector checks to pythonic testing framework
2019-02-18 10:07:01 -05:00
Douglas Stebila
d36626caac
Move metadata check to Python testing framework
2019-02-16 10:07:59 -05:00
Douglas Stebila
ba359473b9
Remove old license check and reduce re-building
2019-02-14 11:36:24 -05:00
Douglas Stebila
e4c368ee49
Implement symbol namespace check using new Python testing framework.
2019-02-14 11:29:49 -05:00
Peter Schwabe
9b29d34bf9
Merge branch 'reformat-kyber'
...
Fixed (hopefully) both formatting and astyle config to not break
formatting again
2019-02-14 15:32:12 +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
f64a7e0dd4
Reimplement Python tests using nose framework
2019-02-13 22:25:34 -05:00
d781d0d6ed
enable undefined behaviour sanitizer
2019-02-09 01:09:46 +00:00
Thom Wiggers
70c5e535bb
Fix accidentally deleted line
...
I shouldve run `make -B test-all`.
2019-02-07 09:59:28 +01:00
Thom Wiggers
59f92730cf
Include an actually random version of randombytes
2019-02-06 17:20:31 +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
8fe988fe51
Check META files ( closes #6 )
2019-01-29 17:25:29 +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
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
Thom Wiggers
2fe5dc73ea
Fix invalid symbols by excluding stdlib
...
This is a poor mans fix for the problem with the build, but what can you do 🤷
2019-01-23 11:52:53 +01:00
Thom Wiggers
740da48423
Add missing debug symbol to functest_ binaries
2019-01-23 11:50:03 +01:00
Thom Wiggers
212d2b4c03
Add debugging symbols for Valgrind
2019-01-23 11:39:50 +01:00
Joost Rijneveld
5d5b6f26a3
Ensure Python3.5 compatibility
...
This means we must downgrade to SHA256, as SHA3 is not in hashlib.
2019-01-23 11:27:43 +01:00
Joost Rijneveld
0597db225a
Add scheme namespace definition to valgrind target
2019-01-23 10:32:13 +01:00
Thom Wiggers
d66bef0284
Install test dependencies and build on OSX GCC
2019-01-22 17:45:30 +01:00
Joost Rijneveld
8228363495
Include scheme namespace in tests
2019-01-22 17:40:27 +01:00
Matthias J. Kannwischer
6fcb3618c4
add address sanitizer
2019-01-22 17:22:18 +01:00
Matthias J. Kannwischer
6e043fbdfb
add valgrind checks
2019-01-22 16:56:22 +01:00
Joost Rijneveld
d3afd819ff
Ensure travis also runs testvector+namespace tests
...
This breaks the build, as Kyber and Dilithium currently are not
properly namespaced. More pressingly, this is not a long-term
solution: because of the way Makefile dependencies work,
one failing test now prevents all others from running.
We probably want to change the testing setup not to rely so heavily
on the Makefile, and instead call a Python or shell script.
Related, we may want to reconsider the single scheme / all targets;
this is becoming quite a mess in the Makefile, already.
2019-01-22 15:13:28 +01:00
Joost Rijneveld
dd445c1513
Add Python script to check function namespacing
2019-01-18 13:41:07 +01:00
Joost Rijneveld
e61a320aed
Move tests to separate directory
2019-01-17 17:44:55 +01:00
Thom Wiggers
4d0082fa43
Add travis config
...
Also fixes some tidy issues
Not sure why my local clang-tidy doesn't complain
2019-01-16 14:54:24 +01:00
Matthias J. Kannwischer
e32b091ead
add testvector generation
2019-01-16 14:21:52 +01:00
Thom Wiggers
c0deaa4952
Add automatic testing
2019-01-16 13:52:53 +01:00
Thom Wiggers
6a8a9a0bf3
Fix tidy for signing
2019-01-16 13:02:35 +01:00
Thom Wiggers
729efea957
Handle whitespace via gitattributes
2019-01-16 11:28:00 +01:00
Joost Rijneveld
7028025eb9
Normalize whitespace
2019-01-16 11:02:32 +01:00
Thom Wiggers
b22a21c08a
Add clang-tidy, only require SCHEME where needed
2019-01-16 10:45:27 +01:00
Matthias J. Kannwischer
39aba8ac24
add .clang-format and formatted all the files
2019-01-15 16:34:01 +01:00
Joost Rijneveld
be0c13f50c
Generalize functest to crypto_{kem,sign}
2019-01-15 16:22:15 +01:00
Joost Rijneveld
87bbb1887f
Make crypto_{kem,sign} part of SCHEME variable
2019-01-15 16:14:52 +01:00
Joost Rijneveld
a2ee9cbadb
Add CFLAGS for strict warning checks
2019-01-15 16:09:32 +01:00
Joost Rijneveld
fa6aedb068
Add minimal Makefile and kyber768 as startingpoint
2019-01-15 16:03:38 +01:00