1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00
Commit Graph

140 Commits

Author SHA1 Message Date
Douglas Stebila
0bc19b3633
Fix a few nits (#107)
* Minor changes

* Gracefully degrade if clang-tidy segfaults

* Typo on returncode
2019-04-11 13:47:53 -04:00
Thom Wiggers
5b0174d282 Avoid clang tidy segfault (#106)
* Gracefully degrade if clang-tidy segfaults

* Typo on returncode
2019-04-11 13:22:50 -04:00
Thom Wiggers
b2ef82e2da
Remove duplicate namespace_prefix 2019-04-11 15:11:18 +02:00
Joost Rijneveld
7dcedfc56c
Allow -fix-errors to fix linter errors 2019-04-11 10:10:05 +02:00
Joost Rijneveld
e9d1829de7
Merge pull request #95 from PQClean/aes
Aes
2019-04-11 09:58:46 +02:00
Joost Rijneveld
a7c147f410
Include 'common' in name of common test binaries 2019-04-11 09:54:52 +02:00
Douglas Stebila
cfc9705751 test_format wasn't actually checking output of astyle
It was only checking the return code, but astyle was always returning 0. 
Changed to parse the output and look for the string "Formatted"
2019-04-10 21:23:33 -04:00
Douglas Stebila
42a5e0e4ad Use environment variables to selectively filter tests 2019-04-10 17:03:02 -04:00
Joost Rijneveld
69b74706c1
Fix SHA3 test 2019-04-10 17:54:52 +02:00
Joost Rijneveld
e766700a81
Add test_aes to make clean 2019-04-10 17:43:04 +02:00
Joost Rijneveld
5d600a2543
Split tests into primitives
This ensures separate errors for separate common files
2019-04-10 16:42:28 +02:00
Joost Rijneveld
f4607265c6
Remove unused imports 2019-04-10 16:37:59 +02:00
Joost Rijneveld
03eb577a40
Pass list instead of single command to subprocess 2019-04-10 16:37:02 +02:00
Joost Rijneveld
280bc60b1b
Use standard helper to skip Windows for /common 2019-04-10 16:34:44 +02:00
Peter Schwabe
28337843b9 Added python test running all unit tests of common crypto functions 2019-04-10 16:02:45 +02:00
Peter Schwabe
4970379baf Added simple test for AES 2019-04-10 13:24:42 +02:00
Joost Rijneveld
5853cb8e50
Test for preprocessor conditionals 2019-04-09 17:23:31 +02:00
Joost Rijneveld
9e5fd74823
Test for prohibited includes in api.h 2019-04-09 17:19:20 +02:00
Douglas Stebila
6fabab1fd9 Merge branch 'master' into more-frodo 2019-04-09 09:06:20 -04:00
Joost Rijneveld
cffe944bbf
Check that implementations are uniquely named 2019-04-08 11:39:17 +02:00
Joost Rijneveld
fe010541ec
Move secret key length to implementation meta 2019-04-08 11:39:17 +02:00
Thom Wiggers
6257e9ea48
Merge pull request #91 from PQClean/detached-signatures
Test detached signatures
2019-04-08 11:37:36 +02:00
Joost Rijneveld
493d77d89b
Ensure tests do not break without schemes 2019-04-08 11:14:45 +02:00
Joost Rijneveld
87a3c6ab39
Add functest/testvectors for detached signatures 2019-04-08 10:23:24 +02:00
Douglas Stebila
e697ee7fdd Merge branch 'master' into more-frodo 2019-04-07 08:15:13 -04:00
Douglas Stebila
7a5f7b9941
Enable some extra warnings (#67)
Enable some extra warnings
2019-04-07 08:14:41 -04:00
Douglas Stebila
2d6be066e7 Add FrodoKEM-1344-SHAKE 2019-04-06 09:22:15 -04:00
Douglas Stebila
bef34697fb Pull pycparser submodule if it's not present 2019-04-06 09:21:40 -04:00
Douglas Stebila
46aa7ff9b2 Move duplicate consistency data outside of META.yml 2019-04-06 09:07:44 -04:00
Douglas Stebila
a296085e57 Merge branch 'master' into more-frodo 2019-04-06 08:51:03 -04:00
Joost Rijneveld
e2fcad2823
Merge branch 'master' into reduce-iterations 2019-04-06 13:10:21 +02:00
Thom Wiggers
1e9defd090
build printparams on Windows 2019-04-05 17:21:56 +02:00
Thom Wiggers
d1fd8aa934
Check the specified sizes of the metadata match api.h consts
Fixes #88
2019-04-05 17:04:37 +02:00
Thom Wiggers
c95d2816bd
Enable some extra warnings
These warnings should help catch some non-obvious bugs.
2019-04-05 16:44:54 +02:00
Thom Wiggers
d39d7c66db
Add missing metadata to META 2019-04-05 16:38:26 +02:00
Joost Rijneveld
f355e77407
Clarify and reduce iterations for sig testvectors
This is actually different from signature functests,
which only tests mlen=32. Can be fixed later as that does
not impact the testvectors.
2019-04-05 16:32:39 +02:00
Douglas Stebila
19d177efb3 Use 5 iteractions for functional tests and test vectors 2019-04-05 10:22:52 -04:00
Joost Rijneveld
41edb79c0a
Clarify cc vs cpp 2019-04-05 13:04:32 +02:00
Thom Wiggers
4e47a0b513
Skip the prohibit-char test on Windows due to lack of cc 2019-04-05 10:39:08 +02:00
Thom Wiggers
bfa8589f96
Use cc -E instead of cpp 2019-04-05 10:31:31 +02:00
Douglas Stebila
0145ddaa1b More stack! 2019-04-04 12:45:24 -04:00
Douglas Stebila
301f7aca57 Always return negative numbers so positive+negative != 0 2019-04-04 12:39:47 -04:00
Douglas Stebila
49729d6da0 Larger stack size for FrodoKEM 976 on Windows 2019-04-04 12:39:04 -04:00
Douglas Stebila
ad4984fdad Improve skipping for duplicate_consistency test 2019-04-04 12:38:47 -04:00
Douglas Stebila
7a4e0d445b Skip duplicate consistency check on Windows (i.e., if sed not available) 2019-04-04 12:07:54 -04:00
Douglas Stebila
bc5d18e7cd Add duplicate consistency check 2019-04-04 12:05:43 -04:00
Joost Rijneveld
97e428a0b7
Skip preprocessing when cpp unavailable 2019-04-04 14:52:11 +02:00
Joost Rijneveld
17fc0da52e
Prohibit using char without explicit sign modifier
Related to #79
2019-04-04 13:49:15 +02:00
Douglas Stebila
4162be0401 Switch for int and unsigned char to size_to and uint8_t 2019-04-02 14:06:06 -04:00
Douglas Stebila
06973e6127 Force make clean on test_compile_lib
Helpful for local builds, even though it has no effect on fresh CI builds
2019-03-31 22:00:39 -04:00