Commit Graph

8 Commits

Author SHA1 Message Date
Douglas Stebila
585a001fda Split aes*_keyexp up into ecb and ctr variants 2020-03-26 20:18:02 -04: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
Douglas Stebila
4157e0fbad Add release function for AES key schedule 2019-06-25 09:37:23 -04:00
Douglas Stebila
aea72d3eb2 Add macros for AES block size 2019-04-10 11:50:23 -04:00
Peter Schwabe
4970379baf Added simple test for AES 2019-04-10 13:24:42 +02:00
Peter Schwabe
45a12595df Added const keyword to a few pointer arguments in AES 2019-04-09 15:41:44 +02:00
Peter Schwabe
93c24e34c6 Formatted AES code properly 2019-04-09 14:48:46 +02:00
Peter Schwabe
070db10cc1 Added (constant-time) AES implementation, based on BearSSL 2019-04-09 14:35:44 +02:00