mbedtls_config.h: rewrite comment for AES_ONLY_128_BIT_KEY_LENGTH

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Yanray Wang 2023-05-10 10:45:38 +08:00
parent a30c72fc44
commit d2ae432364

View file

@ -527,15 +527,15 @@
* *
* Use only 128-bit keys in AES operations to save ROM. * Use only 128-bit keys in AES operations to save ROM.
* *
* Uncommenting this macro removes support for AES operations that use 192- * Uncomment this macro to remove support for AES operations that use 192-
* or 256-bit keys. * or 256-bit keys.
* *
* Tradeoff: Uncommenting this macro reduces the size of AES code by about 4%. * Uncommenting this macro reduces the size of AES code by ~300 bytes
* on v8-M/Thumb2.
* *
* Module: library/aes.c * Module: library/aes.c
* *
* Requires: MBEDTLS_AES_C * Requires: MBEDTLS_AES_C
*
*/ */
//#define MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH //#define MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH