aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Setti <vsetti@baylibre.com>2022-12-30 17:45:05 +0100
committerGilles Peskine <Gilles.Peskine@arm.com>2023-01-04 13:18:19 +0100
commitac41bf54cad499f712fbfa84b0ba14ca0c6f5e34 (patch)
treeeacccdb95d57f5647be83e480195f1ff4bf794cf
parent5f10bedfb9986c8d82005a93ec036572f8bc5a19 (diff)
downloadmbedtls-features/new-code-style/test/6863/new.zip
mbedtls-features/new-code-style/test/6863/new.tar.gz
mbedtls-features/new-code-style/test/6863/new.tar.bz2
test: verify that TLS and X509 are independent from mbedtls_ecp_curve functionsfeatures/new-code-style/test/6863/new
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
-rwxr-xr-xtests/scripts/all.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index d166f77..259f58d 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 () {