From 75e3661ebee78b2a1a57a5595734f88e8514f80a Mon Sep 17 00:00:00 2001 From: Aorimn Date: Sun, 31 Jan 2016 12:27:19 +0100 Subject: [PATCH] Add AES-XEX mode to the default config file Adding the AES-XEX mode to the default config file permits this mode to be compiled, and tested, which may be needed for some programs in the future. --- include/mbedtls/config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 709f6cf0fa..09379a0946 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -501,6 +501,13 @@ */ #define MBEDTLS_CIPHER_MODE_CBC +/** + * \def MBEDTLS_CIPHER_MODE_XEX + * + * Enable Xor-encrypt-xor mode (XEX) for symmetric ciphers. + */ +#define MBEDTLS_CIPHER_MODE_XEX + /** * \def MBEDTLS_CIPHER_MODE_OFB *