1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-27 09:51:30 +00:00
Commit Graph

531 Commits

Author SHA1 Message Date
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
f17d739181
Merge pull request #114 from PQClean/sanitizer_fixes
Clean up some aspects of the tests and made NTRU-HPS code files not executable.
2019-04-16 13:37:13 +02:00
Thom Wiggers
3431dd2e0a
No reason for C source files to be executable 2019-04-16 13:28:44 +02:00
Thom Wiggers
546d9e41f2
Make output of sanitizer nicer 2019-04-16 13:28:43 +02:00
Thom Wiggers
327429b625
Make sure -fsanitizer binaries are always cleaned up 2019-04-16 13:28:43 +02:00
Thom Wiggers
9c4aebd8e3
sanitizers don't need valgrind 2019-04-16 12:39:14 +02:00
Joost Rijneveld
fc7afd8f76
Add distclean to clean entire ../bin folder 2019-04-16 10:35:48 +02:00
Joost Rijneveld
db7843c5eb
SPHINCS: make integer promotion explicit 2019-04-16 10:35:08 +02:00
Thom Wiggers
2a9d793152
Update CONTRIBUTING.md 2019-04-16 08:02:09 +02:00
Thom Wiggers
09a35993da
Skip Valgrind on OSX 2019-04-15 16:21:44 +02:00
Thom Wiggers
a5e906a306
Fix sanitizer test 2019-04-15 16:05:20 +02:00
Douglas Stebila
6fce9cf1b9 Undo breaking compiler warning fix 2019-04-15 09:48:56 -04:00
Douglas Stebila
91f94cdd1c Fix Windows compiler warnings 2019-04-14 20:50:16 -04:00
Douglas Stebila
b2dfdb231f Merge branch 'nist-kat' into more-ntru 2019-04-14 20:31:28 -04:00
Douglas Stebila
b80eebdd71 Fix Windows type warning 2019-04-14 20:31:17 -04:00
Douglas Stebila
56ce82a87c Add ntruhrss701 2019-04-14 20:26:42 -04:00
Douglas Stebila
7a175c9e58 Add ntruhps4096821 2019-04-14 19:58:56 -04:00
Douglas Stebila
9cf75a2ab2 Metadata and duplicate consistency fixes for ntruhps2048677 2019-04-14 19:58:46 -04:00
Douglas Stebila
247d2ad63e Merge branch 'nist-kat' into more-ntru 2019-04-14 19:44:43 -04:00
Douglas Stebila
8c5b1cf356 Add ntruhps2048677 2019-04-14 19:44:26 -04:00
Douglas Stebila
97260c2d69 Fix reference to nistkatrng 2019-04-14 19:35:28 -04:00
Douglas Stebila
c54cdca983 Build nistkat on Windows 2019-04-14 19:31:15 -04: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
53ac90861c Temporarily skip NIST KAT check for kyber768 2019-04-14 17:19:52 -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
d07e8ae7cb
Filter tests when diff'ing against master branch (#103) 2019-04-11 15:23:39 -04:00
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