1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Disable PSA_WANT_KEY_TYPE_DES to stop DES from being re-enabled

Signed-off-by: Ari Weiler-Ofek <ariwei01@e134794.arm.com>
This commit is contained in:
Ari Weiler-Ofek
2025-07-07 23:20:29 +01:00
parent 86422e5509
commit 5d8d299f43

View File

@@ -1818,6 +1818,10 @@ component_test_psa_crypto_config_accel_cipher_aead_cmac () {
scripts/config.py unset MBEDTLS_CHACHA20_C
scripts/config.py unset MBEDTLS_CAMELLIA_C
# Disable DES, if it still exists.
# This can be removed once we remove DES from the library.
scripts/config.py unset PSA_WANT_KEY_TYPE_DES
# Disable CIPHER_C entirely as all ciphers/AEADs are accelerated and PSA
# does not depend on it.
scripts/config.py unset MBEDTLS_CIPHER_C
@@ -1856,6 +1860,10 @@ component_test_psa_crypto_config_reference_cipher_aead_cmac () {
msg "build: full config with non-accelerated cipher inc. AEAD and CMAC"
common_psa_crypto_config_accel_cipher_aead_cmac
# Disable DES, if it still exists.
# This can be removed once we remove DES from the library.
scripts/config.py unset PSA_WANT_KEY_TYPE_DES
make
msg "test: full config with non-accelerated cipher inc. AEAD and CMAC"