Add config option for AES encryption only

-Add config option for AES encyption only to config.h. Feature is
 disabled by default.
-Enable AES encrypt only feature in baremetal.h configuration
-Remove AES encypt only feature from full config
This commit is contained in:
Arto Kinnunen 2019-10-16 13:43:59 +03:00
parent 366c13eaad
commit 1480444e8e
6 changed files with 56 additions and 0 deletions

View file

@ -52,6 +52,7 @@
# MBEDTLS_NO_UDBL_DIVISION
# MBEDTLS_NO_64BIT_MULTIPLICATION
# MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
# MBEDTLS_AES_ONLY_ENCRYPT
# and any symbol beginning _ALT
#
@ -128,6 +129,7 @@ MBEDTLS_NO_UDBL_DIVISION
MBEDTLS_NO_64BIT_MULTIPLICATION
MBEDTLS_USE_TINYCRYPT
MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
MBEDTLS_AES_ONLY_ENCRYPT
_ALT\s*$
);