1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-24 00:11:27 +00:00
Commit Graph

828 Commits

Author SHA1 Message Date
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
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
08830cde0c
Explicitly install setuptools 2019-01-23 11:50:38 +01:00
Thom Wiggers
740da48423
Add missing debug symbol to functest_ binaries 2019-01-23 11:50:03 +01:00
Thom Wiggers
23afad2915
Install python3-dev as well 2019-01-23 11:49:02 +01:00
Thom Wiggers
630ae782fd
Make sure python3-pip is installed 2019-01-23 11:40:43 +01:00
Thom Wiggers
212d2b4c03
Add debugging symbols for Valgrind 2019-01-23 11:39:50 +01:00
Thom Wiggers
a51d3219fc
Remove hardcoded python3.7 and just rely on Python3 2019-01-23 11:37:13 +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
98d54e42fa
Update checked boxes 2019-01-23 11:04:48 +01:00
Joost Rijneveld
0597db225a
Add scheme namespace definition to valgrind target 2019-01-23 10:32:13 +01:00
Thom Wiggers
1e92a13703
install valgrind on OSX 2019-01-22 17:45:31 +01:00
Thom Wiggers
d66bef0284
Install test dependencies and build on OSX GCC 2019-01-22 17:45:30 +01:00
Joost Rijneveld
4cac434f47
Namespace Kyber768 and Dilithium-III 2019-01-22 17:40:27 +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
8179ba5801
Mark currently checked requirements 2019-01-22 15:17:55 +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
Thom Wiggers
9ba43b81c2
Add badge 2019-01-22 14:55:57 +01:00
Thom Wiggers
e9015b4484
Add else condition because I was confused 2019-01-21 16:05:46 +01:00
Thom Wiggers
3223a9a4af
Don't specify PyYAML version and just get the latest one 2019-01-18 18:07:52 +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
Joost Rijneveld
9760f45a46
Move scheme-specific META to scheme directory 2019-01-16 18:09:21 +01:00
Thom Wiggers
59848bd73d
comment out OSX 2019-01-16 15:01:52 +01:00
Thom Wiggers
12d1c7192a
don't specify osx image 2019-01-16 14:59:45 +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
377669decd
use tidy-all in travis.yml 2019-01-16 13:55:48 +01:00
Thom Wiggers
c0deaa4952
Add automatic testing 2019-01-16 13:52:53 +01:00
Thom Wiggers
34a41163bc
Add travis config 2019-01-16 13:02:57 +01:00