Teach check_names about platform requirement macros in common.h #299

Open
gilles-peskine-arm wants to merge 1 commit from gilles-peskine-arm/iar-1.1.0-check-names into main
gilles-peskine-arm commented 2026-04-10 12:22:57 -05:00 (Migrated from github.com)

Unfortunately, for IAR, we need to mention some platform requirement macros outside of tf_psa_crypto_platform_requirements.h. Add an exception to check_names.py, because it's a lot easier than finding some generic mechanism. (//no-check-names doesn't help with a macro definition.)

PR checklist

Unfortunately, for IAR, we need to mention some platform requirement macros outside of `tf_psa_crypto_platform_requirements.h`. Add an exception to `check_names.py`, because it's a lot easier than finding some generic mechanism. (`//no-check-names` doesn't help with a macro definition.) ## PR checklist - [x] **mbedtls development PR** provided https://github.com/Mbed-TLS/mbedtls/pull/10635 - [ ] **mbedtls 4.1 PR** TODO - [x] **TF-PSA-Crypto development PR** provided https://github.com/Mbed-TLS/TF-PSA-Crypto/pull/708 - [ ] **TF-PSA-Crypto 1.1 PR** TODO - [x] **framework PR** provided https://github.com/Mbed-TLS/mbedtls-framework/pull/289; https://github.com/Mbed-TLS/mbedtls-framework/pull/299 - [x] **3.6 PR** provided https://github.com/Mbed-TLS/mbedtls/pull/10636 - **tests** built (but did not link) the library, the unit test support code and the unit tests (but not the programs) in the baremetal config with IAR 9.40 for Arm
bjwtaylor (Migrated from github.com) approved these changes 2026-09-18 04:39:45 -05:00
bjwtaylor commented 2026-09-18 04:40:12 -05:00 (Migrated from github.com)

Needs CI, though otherwise looks good.

Needs CI, though otherwise looks good.
gilles-peskine-arm commented 2026-09-18 07:59:42 -05:00 (Migrated from github.com)

Rebased on top of the current main for a fresh CI run.

Rebased on top of the current `main` for a fresh CI run.
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'gilles-peskine-arm/iar-1.1.0-check-names:gilles-peskine-arm/iar-1.1.0-check-names'
git switch 'gilles-peskine-arm/iar-1.1.0-check-names'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'gilles-peskine-arm/iar-1.1.0-check-names'
git switch 'gilles-peskine-arm/iar-1.1.0-check-names'
git rebase 'main'
git switch 'main'
git merge --ff-only 'gilles-peskine-arm/iar-1.1.0-check-names'
git switch 'gilles-peskine-arm/iar-1.1.0-check-names'
git rebase 'main'
git switch 'main'
git merge --no-ff 'gilles-peskine-arm/iar-1.1.0-check-names'
git switch 'main'
git merge --squash 'gilles-peskine-arm/iar-1.1.0-check-names'
git switch 'main'
git merge --ff-only 'gilles-peskine-arm/iar-1.1.0-check-names'
git switch 'main'
git merge 'gilles-peskine-arm/iar-1.1.0-check-names'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/mbedtls-framework!299
No description provided.