Commit Graph

1066 Commits

Author SHA1 Message Date
Douglas Stebila
812c7f54ac Global search and replace on sed 2019-03-21 22:56:28 -04:00
Joost Rijneveld
266e806807
Make license information in README more specific 2019-03-21 12:20:56 +00:00
Joost Rijneveld
8255f49fc3
Merge pull request #76 from PQClean/namespaced-consts
Namespace the #define constants.
2019-03-19 21:11:37 +00:00
Thom Wiggers
e811376a95
Do the test more properly 2019-03-19 15:20:59 +00:00
Thom Wiggers
8eacafb3c9
Fix dilithium header guard 2019-03-19 15:12:23 +00:00
Thom Wiggers
6558773b21
Check if header guard is defined properly
Does this slightly uglily, but it should work.
2019-03-19 15:02:09 +00:00
Thom Wiggers
05b0f6d9cc
Namespace the #define constants. 2019-03-19 13:28:15 +00:00
Thom Wiggers
751e05e887
Merge pull request #75 from PQClean/sha2
Add incremental SHA2
2019-03-14 09:46:28 +01:00
Joost Rijneveld
d325e39c68
Add documentation for SHA2 blockwise functions 2019-03-13 17:23:30 +01:00
Joost Rijneveld
f0ffc59696
Add SHA224 for completeness 2019-03-11 16:50:00 +01:00
Joost Rijneveld
83810dcc47
Expose incremental SHA2 API 2019-03-11 16:50:00 +01:00
Joost Rijneveld
6d84aec3db
Add SHA256 2019-03-11 16:50:00 +01:00
Thom Wiggers
91c2fb59cf
Merge pull request #74 from PQClean/incremental-fips202
Add incremental API for SHAKE and SHA3
2019-03-11 15:19:36 +01:00
Joost Rijneveld
e959357f97
Remove fips202 test from all tests target
It's nice to be able to test this, but it does not need to happen
for every CI run.
2019-03-11 15:06:04 +01:00
Joost Rijneveld
760b5926c4
Add incremental SHA3 2019-03-07 17:01:23 +01:00
Joost Rijneveld
23178c4c32
Add incremental API for shake128 and shake256 2019-03-07 17:01:16 +01:00
Douglas Stebila
8f347af262
Merge pull request #70 from PQClean/windows-tests
Windows tests
2019-03-07 08:09:16 -05:00
Thom Wiggers
1399c7fd1f
Only ignore missing helper programs if not on CI
use randombytes in functest

Got dropped by the rebase

Work around missing clang-tidy on Travis

Also check if valgrind is available
2019-03-07 08:43:13 +01:00
Thom Wiggers
e450cd6042
Set modification time via os.utime
Hopefully quicker on Windows
2019-03-06 17:15:24 +01:00
Thom Wiggers
fe1ba0e615
Disable AStyle line endings formatter
Git takes care of this, and it breaks the checkouts on Windows
2019-03-06 17:15:24 +01:00
Thom Wiggers
ff186b3dd6
Run AStyle if it is installed
Also try to install it on AppVeyor
2019-03-06 17:15:24 +01:00
Thom Wiggers
7e9cabdee2
Try to build Windows on x32 and x64 2019-03-06 17:15:24 +01:00
Thom Wiggers
f47a690837
Remove Windows build_all bat file 2019-03-06 17:15:23 +01:00
Thom Wiggers
5fd11050ff
Remove google-readability-todo lint 2019-03-06 17:15:23 +01:00
Thom Wiggers
a230c51cf5
Disable clang-tidy lint on windows.h include 2019-03-06 17:15:23 +01:00
Thom Wiggers
45e645c3a7
Fix Makefile.Microsoft_nmake header dependencies 2019-03-06 17:15:23 +01:00
Thom Wiggers
89e7383ecc
Add Python tests to Appveyor 2019-03-06 17:14:36 +01:00
Thom Wiggers
f25824246f
small improvements of reporting 2019-03-06 17:14:36 +01:00
Thom Wiggers
13867ab7b4
Fix tests on Windows 2019-03-06 17:14:36 +01:00
Thom Wiggers
dc1f7e204a
Add returncode support to helper.make 2019-03-06 17:14:35 +01:00
Thom Wiggers
d503a712ba
Fix nmakefiles
LIB is already an environment variable on Windows
2019-03-06 17:14:35 +01:00
Thom Wiggers
7ad19a30a4
First start of windows test support 2019-03-06 17:14:31 +01:00
Matthias J. Kannwischer
4e7415f30d
Merge pull request #71 from PQClean/fixed_size_apis
Make all apis use the uint8_t and size_t types
2019-03-06 17:11:54 +01:00
Thom Wiggers
07b8c2ebe9
Make all apis use the uint8_t and size_t types 2019-03-05 14:14:47 +01:00
Joost Rijneveld
e74fcbecc0
Merge pull request #66 from PQClean/tidy-python
Move clang-tidy into python-based tests
2019-03-05 11:23:03 +01:00
Joost Rijneveld
26ee50ef46
Merge pull request #68 from PQClean/test-cleanup
Clean up tests
2019-03-05 11:22:16 +01:00
Thom Wiggers
75be658074
Clean up tests
Modify the tests to no longer construct the classes multiple times and
to have them make use of the new helpers.make() function.
2019-03-04 17:02:46 +01:00
Thom Wiggers
0bff935662
Add CircleCI link to README 2019-03-04 13:25:35 +01:00
Thom Wiggers
4178768599
Skip clang-tidy if not available 2019-03-01 13:00:43 +01:00
Thom Wiggers
e8c4cf949b
Move clang-tidy into python-based tests 2019-03-01 11:44:22 +01:00
Matthias J. Kannwischer
7a36262f6a
Merge pull request #60 from PQClean/format-check-in-python
Add formatting tests to the python-based testing framework.
2019-03-01 11:27:37 +01:00
Matthias J. Kannwischer
110d2ba3a2
Merge pull request #64 from PQClean/valgrind_in_python
Valgrind in python
2019-03-01 11:14:24 +01:00
Thom Wiggers
00f72102ab
Install astyle on OSX 2019-02-28 17:06:45 +01:00
Thom Wiggers
facc293a21
Add format tests to python tests 2019-02-28 17:06:44 +01:00
Thom Wiggers
17c9840b57
Move valgrind tests to python-based testing framework 2019-02-28 16:45:15 +01:00
Thom Wiggers
dac7235643
Only skip ASAN on ppc with Clang 2019-02-28 16:44:10 +01:00
Joost Rijneveld
ed8e845f77
Clarify ambigious check wrt return codes 2019-02-28 16:37:00 +01:00
Thom Wiggers
53591961c9
Fix supported platform debug print 2019-02-28 16:32:24 +01:00
Thom Wiggers
ea47ab3dad
Fix arm platform names 2019-02-28 16:18:06 +01:00
Thom Wiggers
1180de5d30
Add environment to sanitizers on ARM 2019-02-28 16:17:58 +01:00