Commit Graph

185 Commits

Author SHA1 Message Date
354257df8e remove all Makefiles 2021-02-10 00:25:08 +00:00
John Schanck
4f86c39515
Round 3 update for Dilithium (from github source) (#369)
* Update Dilithium

* Alternative montgomery reduce to avoid i386 functest errors

* Explicit casts for msvc

* More casts; bump upstream version; fix metadata

* another cast
2021-02-01 13:32:40 +08:00
Matthias J. Kannwischer
76641be93d fix #364 2020-12-02 14:25:05 +01:00
Matthias J. Kannwischer
3d5079129d
Update Rainbow to round 3 parameter sets (#361)
* rainbow update

* update workflows

* re-add /O2 in nmake Makefile
2020-11-27 18:55:15 +01:00
John M. Schanck
d0cea52677 falcon: use hyphen in library name 2020-10-21 17:18:02 -04:00
John M. Schanck
31190562b7 Add AVX2 Falcon 2020-10-21 16:37:33 -04:00
John M. Schanck
26599d60a5 dilithium: format nttconsts.c 2020-10-11 14:25:44 -04:00
John M. Schanck
4bc2872af8 dilithium: Remove leading underscore from some internal symbols 2020-10-11 14:25:44 -04:00
Thom Wiggers
32b066036d
Implement testing via Github actions
* Fix a bunch of issues in SPHINCS+ on Windows
* Fix testing makefile dependencies by fixing times of common files
  (affected Windows testing mainly)
2020-10-09 15:11:23 +02:00
John M. Schanck
60751536aa falcon: fix fpr_lt 2020-09-18 22:18:08 -04:00
John M. Schanck
a7e44f79ac astyle 2020-09-17 11:54:58 -04:00
John M. Schanck
1caa0cfeff falcon: conversion warning 2020-09-17 11:25:08 -04:00
John M. Schanck
3773b71aa3 falcon/test_boolean: conversion warning 2020-09-17 07:19:31 -04:00
John M. Schanck
bcc9a619d9 rainbow/test_boolean: Use 1^x instead of 1-x to avoid conversion warning 2020-09-17 07:19:31 -04:00
John M. Schanck
d708e6163a falcon: satisfy test_boolean 2020-09-17 07:19:31 -04:00
John M. Schanck
121258e054 sphincs: satisfy test_boolean 2020-09-17 07:19:31 -04:00
John M. Schanck
83613a5978 rainbow: satisfy test_boolean 2020-09-17 07:19:31 -04:00
Thom Wiggers
5fd615dcd8
Incorporate fix https://github.com/sphincs/sphincsplus/pull/15 2020-08-27 15:07:34 +02: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
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
5f2c322945
Add missing obj file to Windows SPHINCS+ AVX2 builds 2020-05-21 18:51:50 +02:00
xvzcf
4a5dc85cb9 Update required_flags for Dilithium's META.ymls. 2020-04-21 10:33:08 -04:00
Thom Wiggers
9a2385f308
Update MQDSS round numbers
Based on this change:

00608d7610
2020-04-15 10:23:08 +02:00
Thom Wiggers
db0d5800c5
Merge pull request #279 from PQClean/ds-aes-keyexp
Split aes*_keyexp up into ecb and ctr variants
2020-04-03 10:00:50 +02:00
mergify[bot]
da46a96aca
Merge branch 'master' into fix_ub 2020-03-27 23:13:26 +00:00
Michael Baentsch
56d0f2df6e Wshadow at Dilithium/avx2 2020-03-27 07:24:29 +01:00
Douglas Stebila
585a001fda Split aes*_keyexp up into ecb and ctr variants 2020-03-26 20:18:02 -04:00
Douglas Stebila
b50dbbf544 Trigger build 2020-03-13 17:06:45 -04:00
Douglas Stebila
20aa6ea3dc Change formatting
[skip ci]
2020-03-13 17:05:29 -04:00
Douglas Stebila
d0d53ab52a Avoid type-punning error when strict-aliasing turned on 2020-03-13 17:00:32 -04:00
Thom Wiggers
74bc3e74e1
Fix UB in qTESLA
Lots of shifts left of signed integers
2020-03-13 15:02:24 -04:00
Thom Wiggers
9a4e9da47e
Fix FIPS202 API memory leaks in Dilithium 2020-03-03 10:15:56 -05:00
Thom Wiggers
bbad7871d2
Fix SHAKE256 memory leak in Dilithium (#271) 2020-02-16 10:18:05 -05:00
Thom Wiggers
65a6a63e08
Put all common primitives on the heap (#266)
* Put AES ctx on the heap

This forces people to use the ``ctx_release`` functions, because otherwise there will be leaks

* Put fips202 on the heap

* Add much more docs for fips202.h

* fixup! Put fips202 on the heap

* Put SHA2 on the heap-supporting API

* Fix clang-tidy warnings

* Fix unreachable free() in falcon

* Fix McEliece8192128f-sse GNU Makefile
2020-02-11 11:15:14 +01:00
mergify[bot]
7483647ddf
Merge branch 'master' into redo-dilithium 2019-12-13 09:35:58 +00:00
Thom Wiggers
a655ec8a9d SPHINCS+ optimized implementations (#253)
* Add state destroy to SHA2 API

* Include optimized SPHINCS+ implementations

I've generated new implementations from the sphincsplus repository.

* Don't destroy sha256ctx after finalize

* Attempt to shut up MSVC

* Make sure to drop errors in rmtree
2019-12-12 14:29:29 +01:00
Thom Wiggers
6d13a3dffc
Specify arrays with sizes again 2019-12-12 14:11:12 +01:00
Thom Wiggers
3943dde3f1
Matthias' feedback 2019-12-12 13:51:46 +01:00
Thom Wiggers
8a5e83c2ea
fixup! Add MacOS support for Dilithium 2019-12-11 15:47:38 +01:00
Thom Wiggers
bff1ba5c74
Add MacOS support for Dilithium 2019-12-11 15:06:02 +01:00
Thom Wiggers
dbf2d34235
Use more robust macro syntax 2019-12-11 13:01:07 +01:00
Thom Wiggers
a1fb93da73
Don't use const integer arguments 2019-12-11 08:51:26 +01:00
Thom Wiggers
00b17e0740
Use PQClean int guidelines 2019-12-09 12:05:25 +01:00
Thom Wiggers
faf1a80f1e
fixup! Add Dilithium's AVX2 implementations 2019-12-09 09:59:28 +01:00
Thom Wiggers
b4e4964315
Add Dilithium's AVX2 implementations 2019-12-06 16:16:41 +01:00