Commit Graph

1099 Commits

Author SHA1 Message Date
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
Thom Wiggers
6a8a9a0bf3
Fix tidy for signing 2019-01-16 13:02:35 +01:00
Thom Wiggers
64b0c8c8de
Add more binary noise to .gitignore 2019-01-16 11:42:08 +01:00
Thom Wiggers
6427e7f808
Further improve .gitattributes 2019-01-16 11:38:07 +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
Joost Rijneveld
20fb166d01
Add META.yml for Dilithium-III 2019-01-16 10:25:34 +01:00
Joost Rijneveld
2a5a628e48
Add Dilithium-III 2019-01-16 10:21:05 +01:00
Joost Rijneveld
d3d6f7b7b7
Replace functional test by tests from PQM4
This also adds some code for canaries, and unifies crypto_{kem,sign}
2019-01-15 17:13:19 +01:00
Joost Rijneveld
6f48921cd5
Manually format MUSH macros in randombytes
The previous formatting did not immediately stabilize,
and the resulting formatting is somewhat arbitrary.
Manually inserting linebreaks seems to make more sense.
2019-01-15 16:58:24 +01:00
Joost Rijneveld
8c5f2773cb
Reduce the number of functional tests 2019-01-15 16:50:22 +01:00
Joost Rijneveld
39dfbe4e32
Add list of submitters to kyber768/META.yml
Separating this into principal and auxiliary submitters was
chosen by NIST. If we do not do the same thing, we would have to
decide how to order names. People seem to have opinions on ordering.
2019-01-15 16:38:16 +01:00
Matthias J. Kannwischer
39aba8ac24 add .clang-format and formatted all the files 2019-01-15 16:34:01 +01:00
Joost Rijneveld
b35856eece
Add a META.yml for Kyber768 2019-01-15 16:25:37 +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
Thom Wiggers
96ae01ef1b
Clarify that randombytes.c is not at all random 2019-01-15 16:10:35 +01:00
Joost Rijneveld
a2ee9cbadb
Add CFLAGS for strict warning checks 2019-01-15 16:09:32 +01:00
Joost Rijneveld
b5e46c91b8
Remove unused variables from randombytes 2019-01-15 16:07:48 +01:00
Joost Rijneveld
fa6aedb068
Add minimal Makefile and kyber768 as startingpoint 2019-01-15 16:03:38 +01:00
Matthias J. Kannwischer
6af18c31cd add common sha2/sha3/randombytes 2019-01-15 15:35:25 +01:00
Thom Wiggers
06dcca459e
Checkboxes 2019-01-12 12:18:32 -08:00
Thom Wiggers
ab412bda38
Spelling and formatting fixes 2019-01-11 09:24:34 -08:00
Peter Schwabe
5a22a4faec Renamed sigbytes to siglen (consistent with mlen) 2019-01-11 18:16:43 +01:00
Peter Schwabe
4b7e5efbf5 Small fix to README 2019-01-11 01:44:56 +01:00
Peter Schwabe
b218255e3e Fixed (?) comment in README 2019-01-11 01:08:51 +01:00
Peter Schwabe
e2a4b73d4d First sketch of the README 2019-01-11 01:05:16 +01:00
cryptojedi
245533f0d6
Initial commit 2019-01-11 01:04:24 +01:00