Commit Graph

399 Commits

Author SHA1 Message Date
Douglas Stebila
a15bbfcfe0
Merge pull request #101 from PQClean/frodo-aes
Add FrodoKEM AES parameterizations
2019-04-11 15:23:00 -04:00
Douglas Stebila
518e8656be Merge branch 'master' into frodo-aes 2019-04-11 13:48:50 -04:00
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
Douglas Stebila
1e7ee7a4c2 skip_windows decorator 2019-04-11 09:23:35 -04:00
Thom Wiggers
b2ef82e2da
Remove duplicate namespace_prefix 2019-04-11 15:11:18 +02:00
Douglas Stebila
6ca367e2e6 Apply astyle 2019-04-11 08:18:49 -04:00
Douglas Stebila
b7f390368e Merge branch 'master' into frodo-aes 2019-04-11 08:15:40 -04:00
Joost Rijneveld
26ffedc86b
SPHINCS: strictly check integer conversions 2019-04-11 11:14:49 +02:00
Joost Rijneveld
7dcedfc56c
Allow -fix-errors to fix linter errors 2019-04-11 10:10:05 +02:00
Joost Rijneveld
671a4e60aa
Mark 'common' dependencies in README as complete 2019-04-11 10:04:43 +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
Thom Wiggers
bb0afc9f37
Merge pull request #104 from PQClean/astyle-fix
test_format wasn't actually checking output of astyle
2019-04-11 08:57:09 +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
f388d6f93e
Selectively filter tests (#102)
Selectively filter tests
2019-04-10 19:27:25 -04:00
Douglas Stebila
42a5e0e4ad Use environment variables to selectively filter tests 2019-04-10 17:03:02 -04:00
Douglas Stebila
8b4f656376 Skip too-slow valgrind tests on i386 CircleCI builds 2019-04-10 14:14:49 -04:00
Douglas Stebila
0ee03d4c3f Merge branch 'aes' into frodo-aes 2019-04-10 12:31:12 -04:00
Douglas Stebila
c40276dd4a Link against AES object on Windows 2019-04-10 12:30:02 -04:00
Douglas Stebila
7e8bd90d8c Fix Windows compiler warnings and endianness 2019-04-10 12:21:53 -04:00
Douglas Stebila
30c8661d82 Add FrodoKEM-1344-AES 2019-04-10 12:16:24 -04:00
Douglas Stebila
999ea3afed Add FrodoKEM-976-AES 2019-04-10 12:11:27 -04:00
Douglas Stebila
395f14a2f6 Allow multiple sources for duplicate consistency checks; break into multiple unit test to improve output 2019-04-10 12:07:49 -04:00
Joost Rijneveld
69b74706c1
Fix SHA3 test 2019-04-10 17:54:52 +02:00
Douglas Stebila
e9427afeb2 Add FrodoKEM-640-AES 2019-04-10 11:51:09 -04:00
Douglas Stebila
aea72d3eb2 Add macros for AES block size 2019-04-10 11:50:23 -04:00
Joost Rijneveld
e766700a81
Add test_aes to make clean 2019-04-10 17:43:04 +02:00
Douglas Stebila
a2c2521e81 Merge branch 'master' into frodo-aes 2019-04-10 11:37:44 -04: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
af508a9c1f
SPHINCS: remove stray Makefile variables 2019-04-10 10:07:44 +02:00
Joost Rijneveld
dc7cfa8d14
Merge pull request #90 from PQClean/sphincs-shake256-128f-simple
SPHINCS-SHAKE256-128f-simple
2019-04-09 18:49:05 +02:00
Joost Rijneveld
ba70da9189
Fix variable-length arrays using wrappers 2019-04-09 18:21:03 +02:00
Joost Rijneveld
e580dcb487
Remove stray include in api.h 2019-04-09 18:21:03 +02:00
Joost Rijneveld
6cb332cae5
Remove conditional preprocessor statements 2019-04-09 18:21:03 +02:00
Joost Rijneveld
80af118676
Prevent uninitialized variable warning 2019-04-09 18:21:03 +02:00
Joost Rijneveld
a300190d5b
Resolve type coercions 2019-04-09 18:21:00 +02:00
Joost Rijneveld
7540971a8b
Merge pull request #96 from PQClean/test_preprocessor
Test for preprocessor conditionals
2019-04-09 18:02:27 +02:00
Joost Rijneveld
a14dcefb32
Add SPHINCS-SHAKE256-128f-simple 2019-04-09 17:26:34 +02:00
Joost Rijneveld
56e8d17a7d
Move #if check from manual to automatic 2019-04-09 17:23:47 +02:00
Joost Rijneveld
dfe9508551
Remove preprocessor ignored codepath for Kyber 2019-04-09 17:23:31 +02:00
Joost Rijneveld
5853cb8e50
Test for preprocessor conditionals 2019-04-09 17:23:31 +02:00
Joost Rijneveld
8d1ed9afc0
Remove include from Kyber's api.h 2019-04-09 17:19:23 +02:00
Joost Rijneveld
9e5fd74823
Test for prohibited includes in api.h 2019-04-09 17:19:20 +02:00
Peter Schwabe
45a12595df Added const keyword to a few pointer arguments in AES 2019-04-09 15:41:44 +02:00