John M. Schanck
52750b86b1
Pull Dilithium changes from upstream
2021-02-09 10:43:16 -05: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
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
Michael Baentsch
56d0f2df6e
Wshadow at Dilithium/avx2
2020-03-27 07:24:29 +01: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
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
00b17e0740
Use PQClean int guidelines
2019-12-09 12:05:25 +01:00
Thom Wiggers
b4e4964315
Add Dilithium's AVX2 implementations
2019-12-06 16:16:41 +01:00