Adding support for ChaCha20 with Poly1305.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-09-14 17:26:45 +02:00
parent 607f7c50d4
commit 493a88538a
2 changed files with 9 additions and 7 deletions

View File

@@ -2112,7 +2112,7 @@
*
* Module: library/chacha20.c
*/
//#define MBEDTLS_CHACHA20_C
#define MBEDTLS_CHACHA20_C
/**
* \def MBEDTLS_CHACHAPOLY_C
@@ -2123,7 +2123,7 @@
*
* This module requires: MBEDTLS_CHACHA20_C, MBEDTLS_POLY1305_C
*/
//#define MBEDTLS_CHACHAPOLY_C
#define MBEDTLS_CHACHAPOLY_C
/**
* \def MBEDTLS_CIPHER_C