mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[mbedtls] optimize AES configuration (#10286)
This commit optimizes the configuration of AES encryption to be tailored for OpenThread. Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>
This commit is contained in:
committed by
Jonathan Hui
parent
27f1dbcfc1
commit
1336da4212
Vendored
+8
@@ -43,14 +43,22 @@
|
||||
#define MBEDTLS_PLATFORM_SNPRINTF_MACRO snprintf
|
||||
|
||||
#define MBEDTLS_AES_C
|
||||
#if (MBEDTLS_VERSION_NUMBER >= 0x03050000)
|
||||
#define MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||
#endif
|
||||
#define MBEDTLS_AES_ROM_TABLES
|
||||
#define MBEDTLS_ASN1_PARSE_C
|
||||
#define MBEDTLS_ASN1_WRITE_C
|
||||
#define MBEDTLS_BIGNUM_C
|
||||
#if (MBEDTLS_VERSION_NUMBER >= 0x03050000)
|
||||
#define MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
|
||||
#endif
|
||||
#define MBEDTLS_CCM_C
|
||||
#define MBEDTLS_CIPHER_C
|
||||
#define MBEDTLS_CMAC_C
|
||||
#define MBEDTLS_CTR_DRBG_C
|
||||
#define MBEDTLS_DEPRECATED_REMOVED
|
||||
#define MBEDTLS_DEPRECATED_WARNING
|
||||
#define MBEDTLS_ECJPAKE_C
|
||||
#define MBEDTLS_ECP_C
|
||||
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user