Commit Graph

915 Commits

Author SHA1 Message Date
John M. Schanck
4f6e00ed69 NTRU Prime: jump directly to crypto_sort_smallindices 2020-09-02 13:37:23 -04:00
John M. Schanck
75710108fb NTRU Prime: satisfy linter 2020-09-02 13:01:19 -04:00
John M. Schanck
55c6d04df6 NTRU Prime: Simplified patch set 2020-09-02 12:48:28 -04:00
John M. Schanck
8bb37ad134 NTRU Prime: Disable -Wconversion for gcc 2020-09-01 17:34:55 -04:00
John M. Schanck
7f3228a9b3 NTRU Prime: more unary negations 2020-09-01 17:15:01 -04:00
John M. Schanck
a5b5633534 NTRU Prime: more explicit casts 2020-09-01 17:00:55 -04:00
John M. Schanck
22c4feb174 NTRU Prime: avoid unsigned unary negation 2020-09-01 16:18:21 -04:00
John M. Schanck
2b54c6570d NTRU Prime: more compiler warnings 2020-09-01 15:56:45 -04:00
John M. Schanck
4c5a8326ef NTRU Prime: More changes for MS compiler 2020-09-01 15:16:45 -04:00
John M. Schanck
bfd9e1e8fd NTRU Prime: Explicit casts to avoid conversion warnings 2020-09-01 07:55:46 -04:00
John M. Schanck
5982bdffcc NTRU Prime: Match the NIST submission's sequence of calls to randombytes 2020-08-31 10:22:31 -04:00
John M. Schanck
70543bba37 Add sntrup{653,761,857} and ntrulpr{653,761,857}
Exported from SUPERCOP-20200826 using the scripts at:
https://github.com/jschanck/pqclean-package-ntruprime
2020-08-28 20:22:56 -04:00
mergify[bot]
82ea3c26f6
Merge pull request #315 from PQClean/fix-sphincs
Fix unaligned access in Haraka
2020-08-27 14:14:24 +00:00
Thom Wiggers
5fd615dcd8
Incorporate fix https://github.com/sphincs/sphincsplus/pull/15 2020-08-27 15:07:34 +02:00
Thom Wiggers
193b4a8064
Merge pull request #314 from jschanck/upstream_ntru
Update NTRU and add AVX2 implementations
2020-08-26 11:23:07 +02:00
John M. Schanck
268b62f3ce NTRU: Move crypto_sort_int32.h include to top of sample.c 2020-08-25 07:57:26 -04:00
John M. Schanck
146a3195e9 NTRU: more explicit casts for MS compiler 2020-08-24 10:56:18 -04:00
John M. Schanck
f49d18a75b NTRU: add explicit cast for MS compiler 2020-08-24 10:43:44 -04:00
John M. Schanck
f1287684e3 NTRU: duplicate consistency 2020-08-24 09:47:34 -04:00
John M. Schanck
1d26f6a582 Update NTRU and add AVX2 NTRU implementations 2020-08-24 09:47:30 -04:00
John Schanck
4ea4b478ba
Update NTRU (#311)
* Update NTRU

version: https://github.com/jschanck/ntru/tree/485dde03

* Fixed ntruhrss701/clean/Makefile.Microsoft_nmake
2020-08-15 14:26:25 -04:00
Thom Wiggers
d38002f5c4
Merge pull request #310 from claucece/master
Fix overflow in multiplication in Saber
2020-08-11 22:28:13 +02:00
Sofía Celi
534e7a1277
Fix overflow in multiplication in Saber 2020-08-11 10:47:55 -05:00
Thom Wiggers
dc69ab19db
Update README for Round 3 (#306)
See also #305
2020-07-25 12:46:58 +08:00
mergify[bot]
ed3104030f
Merge pull request #305 from PQClean/round3
Remove Non-Round3 Schemes
2020-07-23 12:52:47 +00:00
Matthias J. Kannwischer
9fbfb230a9 remove threebears, ledakem, newhope, mqdss, qtesla
NIST announced the Round 3 finalists and alternate candidates today:
https://groups.google.com/a/list.nist.gov/d/msg/pqc-forum/0ieuPB-b8eg/Cl7Ji8TpCwAJ

Some of the schemes in PQClean did not make it to Round 3 and this commit
removes them.
2020-07-23 14:08:09 +08:00
Thom Wiggers
90630db2eb
Add MQDSS AVX2 implementations (#288)
* Add AVX2 version of mqdss

* Fix duplicate consistency
2020-06-26 14:01:23 +08:00
mergify[bot]
ea5a83f7a8
Merge pull request #293 from PQClean/fix-sphincs-windows
Add missing obj file to Windows SPHINCS+ AVX2 builds
2020-06-22 17:52:57 +00:00
mergify[bot]
a80abd64ff
Merge branch 'master' into fix-sphincs-windows 2020-06-22 11:47:48 +00:00
Thom Wiggers
bcb68643e8
Merge pull request #303 from PQClean/frodo-timing-leak
Fix timing leak in FrodoKEM decapsulation
2020-06-22 11:36:20 +02:00
Thom Wiggers
9e4d07dba1
Speed up test collection (#298)
* don't do filesystem operations during collection

* Greatly speed up test collection

* fixup! Greatly speed up test collection

* Silence junit warning

* fixup! Greatly speed up test collection
2020-06-22 10:10:07 +08:00
Douglas Stebila
de14914a1c Mention FrodoKEM timing leak in SECURITY.md 2020-06-21 16:53:26 -04:00
Douglas Stebila
ae1530d192 Fix timing leak in decapsulation.
As identified in: Qian Guo, Thomas Johansson, Alexander Nilsson. A 
key-recovery timing attack on post-quantum primitives using the 
Fujisaki-Okamoto transformation and its application on FrodoKEM. In 
CRYPTO 2020.

Based on 
155c24c3df
2020-06-19 13:15:13 -04:00
Thom Wiggers
f7c7af5155
Merge pull request #297 from PQClean/fix-kyber-meta
Kyber768 and Kyber1024 don't need -maes (see #296)
2020-06-02 09:41:14 +02:00
Thom Wiggers
8db3ba1ee1
Merge pull request #299 from Ko-/newhope-v1.1
Add domain separation to NewHope
2020-05-29 23:18:55 +02:00
Ko-
25b15e5791 Fix whitespace to satisfy test_duplicate_consistency 2020-05-29 18:54:15 +02:00
Ko-
bca4250d1f Update KAT values 2020-05-29 18:50:37 +02:00
Ko-
4883f2ce89 Add domain separation to NewHope
NewHope announced a new version of their specification that adds
explicit domain separation. This is a port of
https://github.com/newhopecrypto/newhope/commit/607a9d3
2020-05-29 16:41:41 +02:00
Thom Wiggers
5a89c92900
Add Keccakx4 to build 2020-05-29 12:22:10 +02:00
Thom Wiggers
adab5eb39a
remove duplicate from Makefiles 2020-05-29 12:14:31 +02:00
Thom Wiggers
1e8618affa
Remove duplicate sha256x8 2020-05-29 12:13:17 +02:00
Thom Wiggers
75037b5f13
Fix makefiles 2020-05-29 12:08:57 +02:00
Thom Wiggers
2f20776d2e
Fix haraka Makefile.Microsoft_nmake 2020-05-29 10:13:20 +02:00
Thom Wiggers
75416c93f0
Kyber768 and Kyber1024 don't need -maes (see #296) 2020-05-29 10:01:44 +02:00
Thom Wiggers
5f2c322945
Add missing obj file to Windows SPHINCS+ AVX2 builds 2020-05-21 18:51:50 +02:00
Thom Wiggers
a8a263de81
Merge pull request #290 from xvzcf/yml-updates
Update required_flags for Dilithium's META.ymls
2020-04-22 09:52:41 +02:00
xvzcf
4a5dc85cb9 Update required_flags for Dilithium's META.ymls. 2020-04-21 10:33:08 -04:00
mergify[bot]
6a0362c7ba
Merge pull request #287 from PQClean/update-mdss
Update MQDSS round numbers
2020-04-15 10:03:25 +00:00
Thom Wiggers
9a2385f308
Update MQDSS round numbers
Based on this change:

00608d7610
2020-04-15 10:23:08 +02:00
Thom Wiggers
3922725c6f
Merge pull request #285 from PQClean/one-more-aes-keyexp
One more aes256_keyexp renaming
2020-04-07 07:31:49 +02:00