Commit Graph

321 Commits

Author SHA1 Message Date
Douglas Stebila
72d514a6fe Call nose differently and add test documentation 2019-02-13 22:31:37 -05:00
Douglas Stebila
f64a7e0dd4 Reimplement Python tests using nose framework 2019-02-13 22:25:34 -05:00
Thom Wiggers
27a0eb47eb
Fix loading META.yml on Py35 2019-02-11 14:48:16 +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
d781d0d6ed enable undefined behaviour sanitizer 2019-02-09 01:09:46 +00:00
Thom Wiggers
c2747e6860
Further fix the zero return codes for bad kem ops 2019-01-29 17:32:30 +01:00
Thom Wiggers
8fe988fe51
Check META files (closes #6) 2019-01-29 17:25:29 +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
52671df19e
don't run the symbol namespace check on OSX 2019-01-23 12:42:52 +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
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
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
Thom Wiggers
e9015b4484
Add else condition because I was confused 2019-01-21 16:05:46 +01:00
Matthias J. Kannwischer
8c68841417 refactor testvector check 2019-01-18 14:45:14 +01:00
Matthias J. Kannwischer
f7fb850ecf check testvectors 2019-01-18 14:43:05 +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