Document POLARSSL_CAMELLIA_SMALL_MEMORY

This commit is contained in:
Manuel Pégourié-Gonnard 2015-04-03 16:28:19 +02:00
parent 07ec1ddd10
commit 62edcc8176
2 changed files with 12 additions and 1 deletions

View file

@ -297,10 +297,18 @@
* Store the AES tables in ROM. * Store the AES tables in ROM.
* *
* Uncomment this macro to store the AES tables in ROM. * Uncomment this macro to store the AES tables in ROM.
*
*/ */
//#define POLARSSL_AES_ROM_TABLES //#define POLARSSL_AES_ROM_TABLES
/**
* \def POLARSSL_CAMELLIA_SMALL_MEMORY
*
* Use less ROM for the Camellia implementation (saves about 768 bytes).
*
* Uncomment this macro to use less memory for Camellia.
*/
//#define POLARSSL_CAMELLIA_SMALL_MEMORY
/** /**
* \def POLARSSL_CIPHER_MODE_CBC * \def POLARSSL_CIPHER_MODE_CBC
* *

View file

@ -150,6 +150,9 @@ static const char *features[] = {
#if defined(POLARSSL_AES_ROM_TABLES) #if defined(POLARSSL_AES_ROM_TABLES)
"POLARSSL_AES_ROM_TABLES", "POLARSSL_AES_ROM_TABLES",
#endif /* POLARSSL_AES_ROM_TABLES */ #endif /* POLARSSL_AES_ROM_TABLES */
#if defined(POLARSSL_CAMELLIA_SMALL_MEMORY)
"POLARSSL_CAMELLIA_SMALL_MEMORY",
#endif /* POLARSSL_CAMELLIA_SMALL_MEMORY */
#if defined(POLARSSL_CIPHER_MODE_CBC) #if defined(POLARSSL_CIPHER_MODE_CBC)
"POLARSSL_CIPHER_MODE_CBC", "POLARSSL_CIPHER_MODE_CBC",
#endif /* POLARSSL_CIPHER_MODE_CBC */ #endif /* POLARSSL_CIPHER_MODE_CBC */