John Schanck
32c613e8ec
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-03-24 21:02:50 +00:00
John M. Schanck
ba7ac6f316
dilithium: format nttconsts.c
2021-03-24 21:02:48 +00:00
John M. Schanck
3db4fa4876
dilithium: Remove leading underscore from some internal symbols
2021-03-24 21:02:48 +00:00
Michael Baentsch
9248977595
Wshadow at Dilithium/avx2
2021-03-24 21:02:46 +00:00
Thom Wiggers
160030400d
Fix FIPS202 API memory leaks in Dilithium
2021-03-24 21:02:46 +00:00
Thom Wiggers
b6b4c7d8ed
Fix SHAKE256 memory leak in Dilithium ( #271 )
2021-03-24 21:02:46 +00:00
Thom Wiggers
07db9c1e60
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
2021-03-24 21:02:45 +00:00
Thom Wiggers
7dc03bfc44
Specify arrays with sizes again
2021-03-24 21:02:45 +00:00
Thom Wiggers
2b9759912d
Matthias' feedback
2021-03-24 21:02:45 +00:00
Thom Wiggers
08f96e8c71
fixup! Add MacOS support for Dilithium
2021-03-24 21:02:45 +00:00
Thom Wiggers
44b0522070
Add MacOS support for Dilithium
2021-03-24 21:02:45 +00:00
Thom Wiggers
ebb416a2ba
Use more robust macro syntax
2021-03-24 21:02:45 +00:00
Thom Wiggers
862d0d3094
Use PQClean int guidelines
2021-03-24 21:02:45 +00:00
Thom Wiggers
6682216791
Add Dilithium's AVX2 implementations
2021-03-24 21:02:45 +00:00