Add MLDSA test programs #772

Open
bjwtaylor wants to merge 2 commits from bjwtaylor/remove-mldsa-sign-from-build into development
bjwtaylor commented 2026-04-21 07:24:02 -05:00 (Migrated from github.com)

Description

  1. Add the mldsa test programs mldsa_export_public.c mldsa_sign.c, mldsa_verify.c and create a demo script.
  2. Modify the build so the programs only include the symbols that are needed by them.
  3. Add an all.sh component to verify the mldsa_sign is the only program that includes the sign symbols.

resolves: https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/644

PR checklist

  • changelog provided | not required because: TBC
  • framework PR not required
  • TF-PSA-Crypto development PR provided #HERE
  • TF-PSA-Crypto 1.1 PR not required because: No Backports
  • mbedtls development PR not required because: No changes
  • mbedtls 4.1 PR not required because: No changes
  • mbedtls 3.6 PR not required because: No changes
  • tests provided
## Description 1. Add the mldsa test programs mldsa_export_public.c mldsa_sign.c, mldsa_verify.c and create a demo script. 2. Modify the build so the programs only include the symbols that are needed by them. 3. Add an all.sh component to verify the mldsa_sign is the only program that includes the sign symbols. resolves: https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/644 ## PR checklist - [ ] **changelog** provided | not required because: TBC - [ ] **framework PR** not required - [ ] **TF-PSA-Crypto development PR** provided #HERE - [ ] **TF-PSA-Crypto 1.1 PR** not required because: No Backports - [ ] **mbedtls development PR** not required because: No changes - [ ] **mbedtls 4.1 PR** not required because: No changes - [ ] **mbedtls 3.6 PR** not required because: No changes - **tests** provided
This pull request has changes conflicting with the target branch.
  • tests/scripts/components-configuration-crypto.sh
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'bjwtaylor/remove-mldsa-sign-from-build:bjwtaylor/remove-mldsa-sign-from-build'
git switch 'bjwtaylor/remove-mldsa-sign-from-build'

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 'development'
git merge --no-ff 'bjwtaylor/remove-mldsa-sign-from-build'
git switch 'bjwtaylor/remove-mldsa-sign-from-build'
git rebase 'development'
git switch 'development'
git merge --ff-only 'bjwtaylor/remove-mldsa-sign-from-build'
git switch 'bjwtaylor/remove-mldsa-sign-from-build'
git rebase 'development'
git switch 'development'
git merge --no-ff 'bjwtaylor/remove-mldsa-sign-from-build'
git switch 'development'
git merge --squash 'bjwtaylor/remove-mldsa-sign-from-build'
git switch 'development'
git merge --ff-only 'bjwtaylor/remove-mldsa-sign-from-build'
git switch 'development'
git merge 'bjwtaylor/remove-mldsa-sign-from-build'
git push origin 'development'
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/TF-PSA-Crypto!772
No description provided.