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
f792b925b4
Enable optimizers on Windows ( #244 )
2019-10-21 14:23:59 +02:00
Sebastian
298dd2cf22
fix clang-tidy complaint about falcon ( #242 )
...
See https://circleci.com/gh/PQClean/PQClean/7991
2019-10-16 08:23:33 +02:00
Thomas Pornin
2515f13378
Updated version number, and added an explicit cast to appease some versions of clang-tidy.
2019-09-20 09:01:32 -04:00
Thomas Pornin
44a050106a
Fixed sampler bug (update to new upstream Falcon code 2019-09-18).
2019-09-19 15:55:28 -04:00
Thomas Pornin
bad9956869
Fixed some buffer handling bugs that should never happen in practice (but may occur if reusing the internal functions with different parameters).
2019-07-31 16:17:23 -04:00
Thomas Pornin
65e6514be0
Set the version for "round two".
2019-07-22 08:59:08 -04:00
Thomas Pornin
7175413a5c
Renamed local variable to avoid a warning about a redefinition; also disabled the MSVC warning C4146 (it is raised whenever negation is applied on an unsigned type, but this has a portable and standard behaviour, and there are good reasons to do that).
2019-07-20 22:21:11 -04:00
Thomas Pornin
dba40c7d43
Removed 'restrict' keyword (it's C99, but MSVC 2017 does not support it...). This does not seem to impact performance.
2019-07-20 21:27:27 -04:00
Thomas Pornin
87bc13c761
Some cosmetic changes to appease clang-tidy.
2019-07-20 20:35:30 -04:00
Thomas Pornin
192e72144b
Falcon implementations (integer-only code, constant-time).
2019-07-20 19:44:25 -04:00