From 2e86a206f7dd21d5d1aba461728d27347233afec Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 8 Nov 2019 19:23:04 +0100 Subject: [PATCH] Remove component designed to test MAX_SIGNATURE_SIZE MBEDTLS_PK_SIGNATURE_MAX_SIZE is tested in Mbed Crypto. Its effect on Mbed TLS is also tested via the X.509 tests. The case of MBEDTLS_MPI_MAX_SIZE < MBEDTLS_ECDSA_MAX_LEN, for which this component was added as a regression test, is covered by config-suite-b.h which is tested via test-ref-configs.pl. --- tests/scripts/all.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index cd0eca7909..e76b9d422d 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -649,23 +649,6 @@ component_check_doxygen_warnings () { #### Build and test many configurations and targets ################################################################ -component_test_large_ecdsa_key_signature () { - - SMALL_MPI_MAX_SIZE=136 # Small enough to interfere with the EC signatures - - msg "build: cmake + MBEDTLS_MPI_MAX_SIZE=${SMALL_MPI_MAX_SIZE}, gcc, ASan" # ~ 1 min 50s - scripts/config.py set MBEDTLS_MPI_MAX_SIZE $SMALL_MPI_MAX_SIZE - CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan . - make - - INEVITABLY_PRESENT_FILE=Makefile - SIGNATURE_FILE="${INEVITABLY_PRESENT_FILE}.sig" # Warning, this is rm -f'ed below - - msg "test: pk_sign secp521r1_prv.der for MBEDTLS_MPI_MAX_SIZE=${SMALL_MPI_MAX_SIZE} (ASan build)" # ~ 5s - if_build_succeeded programs/pkey/pk_sign tests/data_files/secp521r1_prv.der $INEVITABLY_PRESENT_FILE - rm -f $SIGNATURE_FILE -} - component_test_default_out_of_box () { msg "build: make, default config (out-of-box)" # ~1min make