mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
all.sh: keep CIPHER_C enabled in test_full_block_cipher_psa_dispatch()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
bd7528a592
commit
efdb8261b9
@ -3836,27 +3836,6 @@ component_test_full_block_cipher_psa_dispatch () {
|
||||
# Start from the full config
|
||||
helper_libtestdriver1_adjust_config "full"
|
||||
|
||||
# Disable CIPHER_C because we want legacy GCM_C/CCM_C to use BLOCK_CIPHER_C.
|
||||
scripts/config.py unset MBEDTLS_CIPHER_C
|
||||
|
||||
# Disable unauthenticated ciphers which are not accelerated in this
|
||||
# test component because their builtin support depends on CIPHER_C.
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CCM_STAR_NO_TAG
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CMAC
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CBC_NO_PADDING
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CBC_PKCS7
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CFB
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_CTR
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_OFB
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_XTS
|
||||
scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_STREAM_CIPHER
|
||||
|
||||
# Disable remaining direct dependencies on CIPHER_C.
|
||||
scripts/config.py unset MBEDTLS_PKCS5_C
|
||||
scripts/config.py unset MBEDTLS_PKCS12_C
|
||||
scripts/config.py unset MBEDTLS_NIST_KW_C
|
||||
scripts/config.py unset MBEDTLS_CMAC_C
|
||||
|
||||
# Build
|
||||
# -----
|
||||
|
||||
@ -3864,9 +3843,6 @@ component_test_full_block_cipher_psa_dispatch () {
|
||||
|
||||
helper_libtestdriver1_make_main "$loc_accel_list"
|
||||
|
||||
# Make sure cipher was not re-enabled by accident (additive config)
|
||||
not grep mbedtls_cipher library/cipher.o
|
||||
|
||||
# Run the tests
|
||||
# -------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user