1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

fix comment, ChangeLog & migration-guide for MBEDTLS_ECP_FIXED_POINT_OPTIM

Signed-off-by: kXuan <kxuanobj@gmail.com>
This commit is contained in:
kXuan
2021-06-02 16:53:42 +08:00
parent 22fc906d57
commit 782c2b9f36
3 changed files with 14 additions and 10 deletions

View File

@ -1,8 +1,11 @@
Change MBEDTLS_ECP_FIXED_POINT_OPTIM behaviour
------------------------------------------------------
The option MBEDTLS_ECP_FIXED_POINT_OPTIM now use more ROM and does not increase
peak RAM usage anymore.
The option `MBEDTLS_ECP_FIXED_POINT_OPTIM` now increase code size and it does
not increase peak RAM usage anymore.
If you are limited by code size, you can define `MBEDTLS_ECP_FIXED_POINT_OPTIM`
to `0` in your config file. The impact depends on the number and size of
enabled curves. For example, for P-256 the difference is 1KB; see the documentation
of this option for details.
If you are limited by ROM space, you can define MBEDTLS_ECP_FIXED_POINT_OPTIM
to `0` in your config file. This will save about 50 KiB ROM space.