Update configuration

Move MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH to proper place in config.h
This commit is contained in:
Arto Kinnunen 2019-10-16 09:11:35 +03:00
parent 4ab702b24a
commit 60b11064c5

View file

@ -596,6 +596,25 @@
*/ */
//#define MBEDTLS_AES_FEWER_TABLES //#define MBEDTLS_AES_FEWER_TABLES
/**
* \def MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
*
* Use only 128-bit keys in AES operations to save ROM.
*
* Uncommenting this macro removes support for AES operations that are using 192
* or 256-bit keys.
*
* Tradeoff: Uncommenting this macro reduces ROM footprint by ~240 bytes.
*
* If uncommented, uncomment also MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
*
* Module: library/aes.c
*
* Requires: MBEDTLS_AES_C
*
*/
//#define MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
/** /**
* \def MBEDTLS_CAMELLIA_SMALL_MEMORY * \def MBEDTLS_CAMELLIA_SMALL_MEMORY
* *
@ -3863,25 +3882,6 @@
/* \} SECTION: Compile-time SSL configuration */ /* \} SECTION: Compile-time SSL configuration */
/**
* \def MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
*
* Use only 128-bit keys in AES operations.
*
* Uncommenting this macro removes support for AES operations that are using 192
* or 256-bit keys.
*
* Tradeoff: Uncommenting this macro reduces ROM footprint by ~200 bytes.
*
* If uncommented, uncomment also MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
*
* Module: library/aes.c
*
* Requires: MBEDTLS_AES_C
*
*/
//#define MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
/* Target and application specific configurations /* Target and application specific configurations
* *
* Allow user to override any previous default. * Allow user to override any previous default.