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
3779d4fcbf
Fix clang-tidy complaint about result of subtraction being compared with possibly small size_t ( #231 )
2019-09-10 12:36:52 +02:00
Douglas Stebila
e53cf16fa8
Change sha3_512_inc_finalize output length to 64
2019-07-04 21:13:57 -04:00
Leon
32b3a97809
add sha3_384
2019-06-10 20:40:49 +02:00
Thom Wiggers
b153768783
Implement ctx struct for fips202
2019-05-20 10:22:51 +02:00
Joost Rijneveld
760b5926c4
Add incremental SHA3
2019-03-07 17:01:23 +01:00
Joost Rijneveld
23178c4c32
Add incremental API for shake128 and shake256
2019-03-07 17:01:16 +01:00
Thom Wiggers
06955dfc21
Explicit casts in conversions
2019-02-27 16:19:00 +01:00
312616113a
common: use fixed size integers
2019-02-17 13:16:21 +00:00
Thom Wiggers
3b73ea134d
Formatted everything with astyle
...
clang-format was not flexible enough to allow lining out things on
columns with spaces.
2019-02-14 14:08:16 +01:00
Joost Rijneveld
7028025eb9
Normalize whitespace
2019-01-16 11:02:32 +01:00
Thom Wiggers
b22a21c08a
Add clang-tidy, only require SCHEME where needed
2019-01-16 10:45:27 +01:00
Joost Rijneveld
2a5a628e48
Add Dilithium-III
2019-01-16 10:21:05 +01:00
Matthias J. Kannwischer
39aba8ac24
add .clang-format and formatted all the files
2019-01-15 16:34:01 +01:00
Matthias J. Kannwischer
6af18c31cd
add common sha2/sha3/randombytes
2019-01-15 15:35:25 +01:00