4 Commits

Author SHA1 Message Date
Valerio Setti 5944104a52 scripts: make demo_common.sh usable on its own
When looking for $root_dir, do not try to guess if the root path is
Mbed TLS or TF-PSA-Crypto one, but simply look for
"scripts/project_name.txt" file without reading it. In this way the
initial part of the script does not need "project_detection.sh".

Once the root path is found, we can easily:
- source "project_detection.sh";
- check if query_compile_time_config is available or not.

This commit also updates "dlopen_demo.sh" so that it simply sources
"demo_common.sh" and not "project_detection.sh" (not directly at least).

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-04-17 16:02:50 +02:00
Valerio Setti 60c8e52c6e scripts: adapt demo_common.sh and project_detection.sh to tf-psa-crypto
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-04-03 10:58:13 +02:00
Harry Ramsey 8067657142 Update filepath to demo_common.sh
This commit updates the filepath to demo_common.sh in dlopen_demo.sh and
the comment in demo_common.sh regarding how to use demo_common.sh.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2025-02-19 15:20:04 +00:00
Harry Ramsey 98257b4e0f Move programs into the framework
This commit moves demo_common.sh, dlopen_demo.sh, metatest.c
query_compile_time_config.c, query_config.h, query_included_headers.c,
zeroize.c and test_zeroize.gdb from MbedTLS into the MbedTLS framework.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2025-02-19 15:17:23 +00:00