Commit Graph

325 Commits

Author SHA1 Message Date
Joost Rijneveld
a7c147f410
Include 'common' in name of common test binaries 2019-04-11 09:54:52 +02: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
Peter Schwabe
45a12595df Added const keyword to a few pointer arguments in AES 2019-04-09 15:41:44 +02:00
Peter Schwabe
40661601bd Eliminated unnecessary casts 2019-04-09 15:06:23 +02:00
Peter Schwabe
ed8a4ea2f4 Fixed wrong header name in aes.c 2019-04-09 14:57:52 +02:00
Peter Schwabe
93c24e34c6 Formatted AES code properly 2019-04-09 14:48:46 +02:00
Peter Schwabe
070db10cc1 Added (constant-time) AES implementation, based on BearSSL 2019-04-09 14:35:44 +02:00
Joost Rijneveld
c3896e1b1a
Merge pull request #89 from PQClean/check_metadata_sizes
Check the specified sizes of the metadata match api.h consts
2019-04-05 18:27:34 +02:00
Joost Rijneveld
73f40e4147
Allow TODO without username / bug numbers 2019-04-05 17:53:30 +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
cc65166063
Merge branch 'fix_metadata'
Fixes the metadata test and adds the missing information.
2019-04-05 16:38:59 +02:00
Thom Wiggers
1523a5ce47
Fix shared-secret in CONTRIBUTING 2019-04-05 16:38:42 +02:00
Thom Wiggers
d39d7c66db
Add missing metadata to META 2019-04-05 16:38:26 +02:00
Thom Wiggers
db915fb6f7
Merge pull request #55 from PQClean/contributing
First draft of CONTRIBUTING
2019-04-05 16:30:59 +02:00
Thom Wiggers
004c82c42e
Namespace constants, clean up C API listings 2019-04-05 16:29:21 +02:00
Thom Wiggers
c765e5c350
Specify crypto API as specified in README
This means using uint8_t and adding the detached-signature api functions
2019-04-05 16:21:07 +02:00
Thom Wiggers
98a6f2cf38
Add remark about running astyle to contributing
See #60
2019-04-05 16:21:07 +02:00
Thom Wiggers
e39dec0919
Add powerpc mention and remove intentions statement 2019-04-05 16:21:07 +02:00
Douglas Stebila
cb4eb97bc4
Markdown formatting changes 2019-04-05 16:21:07 +02:00
Thom Wiggers
658b4f0447
Fix unfinished sentence
[ci skip]
2019-04-05 16:21:07 +02:00
Thom Wiggers
7d8b12d6bd
Syntax typos 2019-04-05 16:21:07 +02:00
Thom Wiggers
928b92364e
First draft of CONTRIBUTING 2019-04-05 16:21:07 +02:00
Thom Wiggers
764935084a Update pull_request_template.md 2019-04-05 16:19:56 +02:00
Thom Wiggers
1938f78bf1 Pull request template draft
[ci skip]
2019-04-05 16:19:56 +02:00
Joost Rijneveld
67ba4b661c
Update README based on discussion on integer sizes 2019-04-05 15:30:13 +02:00
Joost Rijneveld
cdb0fd89f4
Merge pull request #82 from PQClean/prohibit-char
Prohibit using char without explicit sign modifier
2019-04-05 13:50:38 +02:00
Thom Wiggers
eb08730d27
Use brew link to install gcc in a more predictable place 2019-04-05 13:38:02 +02:00
Joost Rijneveld
41edb79c0a
Clarify cc vs cpp 2019-04-05 13:04:32 +02:00
Joost Rijneveld
3d8faae483
Fix missing && separator in docker command string
It seems to have worked in CircleCI without this, though;
it is unclear to me why.
2019-04-05 12:53:52 +02:00
Thom Wiggers
2ffdc863c9
Also install requirements in native versions 2019-04-05 11:51:19 +02:00
Thom Wiggers
13e84aec00
Clone submodules in CircleCI 2019-04-05 11:47:47 +02:00
Thom Wiggers
347217ba13
Mention submodules in README 2019-04-05 10:42:14 +02:00
Thom Wiggers
dac0d96904
We don't use cpp anymore 2019-04-05 10:40:16 +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
Thom Wiggers
9a6787c872
Properly set up GCC on OS X 2019-04-05 10:30:55 +02:00
Thom Wiggers
8067df4aa9
install pycparser with pip3 2019-04-05 09:28:27 +02: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
5f56162869
Add FrodoKEM-640-SHAKE reference implementation (#78)
Add FrodoKEM-640-SHAKE reference implementation
2019-04-03 10:08:07 -04: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