Switch default config back to the upstream one + PSA + CMAC

Switch the default config.h back to the upstream version, plus the new
feature from this branch MBEDTLS_PSA_CRYPTO_C, plus MBEDTLS_CMAC_C
because it's a features we're using to explore the API design but
that's off by default in Mbed TLS.

Having a crypto-only version saved a bit of developer time, and it's
something we want to ship, but we also need a full build with TLS to
work, and the CI scripts assume that the default build includes TLS.

As a consequence, list-macros.sh no longer needs a special case to
pass check-names.sh.
This commit is contained in:
Gilles Peskine 2018-06-19 11:56:47 +02:00 committed by itayzafrir
parent 1672d1d2e4
commit 9a9e19f3fb
2 changed files with 1058 additions and 11 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,6 @@ if [ -d include/mbedtls ]; then :; else
fi fi
HEADERS=$( ls include/mbedtls/*.h | egrep -v 'compat-1\.3\.h' ) HEADERS=$( ls include/mbedtls/*.h | egrep -v 'compat-1\.3\.h' )
HEADERS="$HEADERS configs/config-default.h"
sed -n -e 's/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \ sed -n -e 's/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \
| egrep -v '^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \ | egrep -v '^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \