3.6 only: Move some scripts from mbedtls into the framework redux#10658
Merged
Conversation
Move a bunch of files from `scripts` and `mbedtls/scripts` to the framework. Most are not called from any scripts invoked by the CI, but a couple are. A subsequent commit will adapt the scripts. None of these scripts are referenced from other repositories except in documentation. The following files will be removed, and added to `mbedtls-framework`: * `scripts/ecp_comb_table.py` * `scripts/massif_max.pl` * `tests/scripts/audit-validity-dates.py` (moved to `scripts/`) * `tests/scripts/gen_ctr_drbg.pl` (moved to `scripts/`) * `tests/scripts/gen_gcm_decrypt.pl` (moved to `scripts/`) * `tests/scripts/gen_gcm_encrypt.pl` (moved to `scripts/`) * `tests/scripts/gen_pkcs1_v21_sign_verify.pl` (moved to `scripts/`) * `tests/scripts/generate-afl-tests.sh` (moved to `scripts/`) * `tests/scripts/generate_server9_bad_saltlen.py` (moved to `scripts/`) * `tests/scripts/run-metatests.sh` (moved to `scripts/`) * `tests/scripts/run_demos.py` (moved to `scripts/`) * `tests/scripts/test_config_script.py` (moved to `scripts/`) Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
5 tasks
bjwtaylor
reviewed
Mar 26, 2026
bjwtaylor
left a comment
There was a problem hiding this comment.
On small suggestion, let me know what you think though.
There was a problem hiding this comment.
This file is still referenced in it's current location here docs/architecture/psa-shared-memory.md:685. Is it worth updating this reference path?
Contributor
Author
There was a problem hiding this comment.
Indeed. That documentation went to crypto in the split, so I'll make a PR to update the path in TF-PSA-Crypto as well. Mbed-TLS/TF-PSA-Crypto#728
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
7 tasks
valeriosetti
approved these changes
Mar 27, 2026
bjwtaylor
approved these changes
Apr 9, 2026
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In #10629, I forgot to actually remove the files that were added to the framework.
The commit is a cherry-pick of 326fb18 "Move some scripts from mbedtls into the framework" from #10624 with no conflicts, showing that the removed files are identical in 3.6 (thanks to the preliminary work in #10629).
PR checklist