@@ -2371,7 +2371,6 @@ config_psa_crypto_full_all_ec_algs_no_ecp_use_psa () {
2371
2371
scripts/config.py unset MBEDTLS_ECJPAKE_C
2372
2372
# Disable ECP module (entirely)
2373
2373
scripts/config.py unset MBEDTLS_ECP_C
2374
- scripts/config.py unset MBEDTLS_ECP_LIGHT
2375
2374
fi
2376
2375
2377
2376
# Restartable feature is not yet supported by PSA. Once it will in
@@ -2389,8 +2388,7 @@ config_psa_crypto_full_all_ec_algs_no_ecp_use_psa () {
2389
2388
}
2390
2389
2391
2390
# Build and test a configuration where driver accelerates all EC algs while
2392
- # all support and dependencies from ECP and ECP_LIGHT are removed on the library
2393
- # side.
2391
+ # all support and dependencies from ECP are removed on the library side.
2394
2392
#
2395
2393
# Keep in sync with component_test_psa_crypto_full_reference_all_ec_algs_no_ecp_use_psa()
2396
2394
component_test_psa_crypto_full_accel_all_ec_algs_no_ecp_use_psa () {
@@ -2420,15 +2418,16 @@ component_test_psa_crypto_full_accel_all_ec_algs_no_ecp_use_psa () {
2420
2418
# Build the library
2421
2419
loc_accel_flags=" $loc_accel_flags $( echo " $loc_accel_list " | sed ' s/[^ ]* */-DMBEDTLS_PSA_ACCEL_&/g' ) "
2422
2420
loc_symbols=" -DPSA_CRYPTO_DRIVER_TEST \
2423
- -DMBEDTLS_TEST_LIBTESTDRIVER1"
2421
+ -DMBEDTLS_TEST_LIBTESTDRIVER1 \
2422
+ -DMBEDTLS_ECP_LIGHT"
2424
2423
make CFLAGS=" $ASAN_CFLAGS -Werror -I../tests/include -I../tests -I../../tests $loc_symbols $loc_accel_flags " LDFLAGS=" -ltestdriver1 $ASAN_CFLAGS "
2425
2424
2426
2425
# Make sure any built-in EC alg was not re-enabled by accident (additive config)
2427
2426
not grep mbedtls_ecdsa_ library/ecdsa.o
2428
2427
not grep mbedtls_ecdh_ library/ecdh.o
2429
2428
not grep mbedtls_ecjpake_ library/ecjpake.o
2430
2429
# Also ensure that ECP or RSA modules were not re-enabled
2431
- not grep mbedtls_ecp_ library/ecp.o
2430
+ not grep mbedtls_ecp_mul library/ecp.o
2432
2431
2433
2432
# Run the tests
2434
2433
# -------------
0 commit comments