Merge pull request #7317 from mpg/lift-exclusions

Lift exclusions from driver-only hash component
This commit is contained in:
Manuel Pégourié-Gonnard 2023-03-23 12:01:01 +01:00 committed by GitHub
commit ac6db4d649
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 989 additions and 955 deletions

View file

@ -2626,15 +2626,6 @@ config_psa_crypto_hash_use_psa () {
scripts/config.py unset MBEDTLS_ENTROPY_C
scripts/config.py unset MBEDTLS_ENTROPY_NV_SEED # depends on ENTROPY_C
scripts/config.py unset MBEDTLS_PLATFORM_NV_SEED_ALT # depends on former
# Also unset MD_C and things that depend on it.
if [ "$DRIVER_ONLY" -eq 1 ]; then
scripts/config.py unset MBEDTLS_MD_C
fi
scripts/config.py unset MBEDTLS_HKDF_C # has independent PSA implementation
scripts/config.py unset MBEDTLS_HMAC_DRBG_C
scripts/config.py unset MBEDTLS_PKCS7_C
scripts/config.py unset MBEDTLS_ECDSA_DETERMINISTIC
scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_DETERMINISTIC_ECDSA
# Dynamic secure element support is a deprecated feature and needs to be disabled here.
# This is done to have the same form of psa_key_attributes_s for libdriver and library.