From 3322f611e6f7a2c06c1e4bdcbaf00c6b63595f9f Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Fri, 30 Dec 2022 17:45:05 +0100 Subject: [PATCH] test: verify that TLS and X509 are independent from mbedtls_ecp_curve functions Signed-off-by: Valerio Setti --- tests/scripts/all.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 18dc8a6688..046a073520 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -939,6 +939,19 @@ component_test_full_cmake_gcc_asan () { msg "test: context-info.sh (full config, ASan build)" # ~ 15 sec tests/context-info.sh + + # Verify that TLS and X509 libraries have no dipendency from + # "mbedtls_ecp_curve" symbols. + msg "test: verify that TLS and X509 have no dependency from mbedtls_ecp_curve symbols" + docs/architecture/psa-migration/syms.sh full + + not grep mbedtls_ecp_curve full-tls-external + not grep mbedtls_ecp_curve full-x509-external + + rm full-tls-external \ + full-tls-modules \ + full-x509-external \ + full-x509-modules } component_test_psa_crypto_key_id_encodes_owner () {