Fix ordering and repetitions in config.h

This commit is contained in:
Manuel Pégourié-Gonnard 2018-06-04 12:23:19 +02:00
parent 3dc62a0a9b
commit e533b22153

View file

@ -269,13 +269,13 @@
* digests and ciphers instead.
*
*/
//#define MBEDTLS_CHACHAPOLY_ALT
//#define MBEDTLS_AES_ALT
//#define MBEDTLS_ARC4_ALT
//#define MBEDTLS_BLOWFISH_ALT
//#define MBEDTLS_CAMELLIA_ALT
//#define MBEDTLS_CCM_ALT
//#define MBEDTLS_CHACHA20_ALT
//#define MBEDTLS_CHACHAPOLY_ALT
//#define MBEDTLS_CMAC_ALT
//#define MBEDTLS_DES_ALT
//#define MBEDTLS_DHM_ALT
@ -1689,17 +1689,6 @@
*/
#define MBEDTLS_AES_C
/**
* \def MBEDTLS_CHACHAPOLY_C
*
* Enable the ChaCha20-Poly1305 AEAD algorithm.
*
* Module: library/chachapoly.c
*
* This module requires: MBEDTLS_CHACHA20_C, MBEDTLS_POLY1305_C
*/
#define MBEDTLS_CHACHAPOLY_C
/**
* \def MBEDTLS_ARC4_C
*
@ -1849,16 +1838,6 @@
*/
#define MBEDTLS_CAMELLIA_C
/**
* \def MBEDTLS_CHACHA20_C
*
* Enable the ChaCha20 block cipher.
*
* Module: library/chacha20.c
* Caller: library/chachapoly.c
*/
#define MBEDTLS_CHACHA20_C
/**
* \def MBEDTLS_CCM_C
*
@ -1894,6 +1873,17 @@
*/
#define MBEDTLS_CHACHA20_C
/**
* \def MBEDTLS_CHACHAPOLY_C
*
* Enable the ChaCha20-Poly1305 AEAD algorithm.
*
* Module: library/chachapoly.c
*
* This module requires: MBEDTLS_CHACHA20_C, MBEDTLS_POLY1305_C
*/
#define MBEDTLS_CHACHAPOLY_C
/**
* \def MBEDTLS_CIPHER_C
*