Commit Graph

699 Commits

Author SHA1 Message Date
Douglas Stebila
27366d6559
Add FrodoKEM-976-SHAKE and FrodoKEM-1344-SHAKE (#83)
Add FrodoKEM-976-SHAKE and FrodoKEM-1344-SHAKE
2019-04-09 09:37:51 -04:00
Douglas Stebila
37ccc09168 Move length-secret-key 2019-04-09 09:11:16 -04:00
Peter Schwabe
40661601bd Eliminated unnecessary casts 2019-04-09 15:06:23 +02:00
Douglas Stebila
6fabab1fd9 Merge branch 'master' into more-frodo 2019-04-09 09:06:20 -04: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
4bf6810c9a
Explicitly disallow preprocessor #if 2019-04-09 11:17:54 +02:00
Thom Wiggers
0d24eb1f15
Merge pull request #92 from PQClean/move-secretkey-size-meta
Move secret-key length in META file
2019-04-08 11:42:29 +02: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
e7602479f1
Remove round 1 Dilithium
This does not implement the detached signature API, and will
change significantly for NIST's 2nd round anyway.
2019-04-08 10:23:29 +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
13e74c7b67 Update test vectors for new number of iterations 2019-04-06 09:22:04 -04:00
Douglas Stebila
bef34697fb Pull pycparser submodule if it's not present 2019-04-06 09:21:40 -04:00
Douglas Stebila
624d82cc67 New required metadata fields 2019-04-06 09:09:45 -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
d113b45cf0
Fix font size of pull request template header
The previous header size was a bit excessive, overshadowing actual comments.
2019-04-06 14:45:05 +02:00
Joost Rijneveld
5bec3e77f2
Merge pull request #86 from PQClean/reduce-iterations
Use 5 iterations for functional tests and test vectors
2019-04-06 13:22:01 +02:00
Joost Rijneveld
e2fcad2823
Merge branch 'master' into reduce-iterations 2019-04-06 13:10:21 +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
c95d2816bd
Enable some extra warnings
These warnings should help catch some non-obvious bugs.
2019-04-05 16:44:54 +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
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
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
Douglas Stebila
19d177efb3 Use 5 iteractions for functional tests and test vectors 2019-04-05 10:22:52 -04: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