Douglas Stebila
c0cf260113
Merge branch 'master' into nist-kat
2019-04-16 16:20:31 -04:00
Douglas Stebila
24938353ac
Merge branch 'master' into nist-kat
2019-04-16 14:19:20 -04:00
Thom Wiggers
48bae57f24
Fix NTRU implementation according to c7fa0b98bc
2019-04-16 15:25:18 +02:00
Thom Wiggers
e711d6e3b9
Fix hash length in NTRU
2019-04-16 13:37:50 +02:00
Thom Wiggers
873216c702
Fix integer overflow problems in NTRU
2019-04-16 13:37:50 +02:00
Thom Wiggers
eb5f7f1e57
Fix int/size_t comparison in frodo
2019-04-16 13:37:50 +02:00
Thom Wiggers
3431dd2e0a
No reason for C source files to be executable
2019-04-16 13:28:44 +02:00
Douglas Stebila
c42619d855
Merge branch 'master' into nist-kat
2019-04-14 19:28:59 -04:00
Douglas Stebila
ff71e7de11
Correct FrodoKEM submitter list
2019-04-14 17:38:53 -04:00
Douglas Stebila
8e7cf2b5cd
Fix linter complaints
2019-04-14 17:29:58 -04:00
Douglas Stebila
a815543f32
Add NIST KAT check for KEMs
2019-04-14 17:17:11 -04:00
Douglas Stebila
e72fd489ba
Add ntruhps2048509 ( #105 )
...
* Initial ntruhps2048509 implementation
* Turn compile-time #if's into runtime if's
* Test vector hash
* Resolve linter complaints
* Apply astyle
* Address Windows compiler complaints
* Address more Windows compiler complaints
* More Windows compiler complaints
* Apply astyle
* Add -Wmissing-prototypes
Co-Authored-By: dstebila <dstebila@users.noreply.github.com>
* Fix -Wmissing-prototypes errors, update LICENSE
2019-04-13 13:08:07 -04:00
Matthias J. Kannwischer
5587cdb4a8
Add -Wmissing-prototypes ( #109 )
...
* fix prototypes for sphincs and static functions in aes.c
* fix missing prototypes in all frodo variants
* fix missing prototypes in kyber
* remove const from non-pointer arguments in Frodo
* add missing prototypes to requirements in README
2019-04-13 11:47:29 -04: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
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
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
e9427afeb2
Add FrodoKEM-640-AES
2019-04-10 11:51:09 -04:00
Joost Rijneveld
dfe9508551
Remove preprocessor ignored codepath for Kyber
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
Douglas Stebila
37ccc09168
Move length-secret-key
2019-04-09 09:11:16 -04:00
Douglas Stebila
6fabab1fd9
Merge branch 'master' into more-frodo
2019-04-09 09:06:20 -04:00
Joost Rijneveld
fe010541ec
Move secret key length to implementation meta
2019-04-08 11:39:17 +02: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
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
e2fcad2823
Merge branch 'master' into reduce-iterations
2019-04-06 13:10:21 +02:00
Thom Wiggers
d39d7c66db
Add missing metadata to META
2019-04-05 16:38:26 +02:00
Douglas Stebila
19d177efb3
Use 5 iteractions for functional tests and test vectors
2019-04-05 10:22:52 -04:00
Douglas Stebila
6b5d144415
Correct security level
2019-04-04 14:51:17 -04:00
Douglas Stebila
249bfb6197
Add FrodoKEM-976-SHAKE
2019-04-04 12:05:55 -04:00
Douglas Stebila
72ff0dae94
Minor reformatting
2019-04-04 12:05:20 -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
41bc57689c
Fix more compiler warnings
2019-03-31 21:55:55 -04:00
Douglas Stebila
1e5e9d96f8
Fix compiler warnings and bug
2019-03-31 21:52:35 -04:00
Douglas Stebila
9cb1c56ac1
Make Frodo code endian-agnostic
2019-03-31 21:44:36 -04:00
Douglas Stebila
028fb2120e
Fix typo
2019-03-21 23:53:53 -04:00
Douglas Stebila
ca798ee18a
Fix Windows warnings
2019-03-21 23:51:34 -04:00
Douglas Stebila
f0ba4f2051
Add Windows Makefile
2019-03-21 23:48:52 -04:00
Douglas Stebila
e153dfdf56
Apply clang-tidy
2019-03-21 23:40:12 -04:00
Douglas Stebila
7485f35366
Apply astyle
2019-03-21 23:27:16 -04:00
Douglas Stebila
a2399091a7
Initial FrodoKEM-640-SHAKE implementation
2019-03-21 22:56:45 -04: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
45e645c3a7
Fix Makefile.Microsoft_nmake header dependencies
2019-03-06 17:15:23 +01:00
Thom Wiggers
d503a712ba
Fix nmakefiles
...
LIB is already an environment variable on Windows
2019-03-06 17:14:35 +01:00