Improve documentation of MBEDTLS_AES_ROM_TABLES

This commit is contained in:
Hanno Becker 2018-03-27 16:52:03 +01:00
parent 783cb06e05
commit 4c1dc3c2a4

View File

@ -386,9 +386,10 @@
* Uncomment this macro to use precomputed AES tables stored in ROM.
* Comment this macro to generate AES tables in RAM at runtime.
*
* Tradeoff: Using precomputed ROM tables reduces the time to setup
* an AES context but comes at the cost of additional ~8kb ROM use
* (resp. ~2kb if \c MBEDTLS_AES_FEWER_TABLES below is used).
* Tradeoff: Using precomputed ROM tables reduces RAM usage by ~8kb
* (or ~2kb if \c MBEDTLS_AES_FEWER_TABLES is used) and reduces the
* the time to setup an AES context. It comes at the cost of additional
* ~8kb ROM use (resp. ~2kb if \c MBEDTLS_AES_FEWER_TABLES below is used).
*
* This option is independent of \c MBEDTLS_AES_FEWER_TABLES.
*