Added MLDSA sanity check and supported key sizes #322

Open
rohankl-arm wants to merge 5 commits from rohankl-arm/mldsa-899-framework into main
rohankl-arm commented 2026-09-21 04:30:23 -05:00 (Migrated from github.com)

Description

Added sanity check for the exported length of ML-DSA public keys. Added key type size options for ML-DSA.

PR checklist

Please add the numbers (or links) of the associated pull requests for consuming branches. You can omit branches where this pull request is not needed.

  • TF-PSA-Crypto development PR provided Mbed-TLS/TF-PSA-Crypto#912
  • TF-PSA-Crypto 1.1 PR not required because: new feature
  • mbedtls development PR not required because: crypto only
  • mbedtls 4.1 PR not required because: crypto only
  • mbedtls 3.6 PR not required because: crypto only
## Description Added sanity check for the exported length of ML-DSA public keys. Added key type size options for ML-DSA. ## PR checklist Please add the numbers (or links) of the associated pull requests for consuming branches. You can omit branches where this pull request is not needed. - [x] **TF-PSA-Crypto development PR** provided Mbed-TLS/TF-PSA-Crypto#912 - [x] **TF-PSA-Crypto 1.1 PR** not required because: new feature - [x] **mbedtls development PR** not required because: crypto only - [x] **mbedtls 4.1 PR** not required because: crypto only - [x] **mbedtls 3.6 PR** not required because: crypto only
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 'rohankl-arm/mldsa-899-framework:rohankl-arm/mldsa-899-framework'
git switch 'rohankl-arm/mldsa-899-framework'

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 'rohankl-arm/mldsa-899-framework'
git switch 'rohankl-arm/mldsa-899-framework'
git rebase 'main'
git switch 'main'
git merge --ff-only 'rohankl-arm/mldsa-899-framework'
git switch 'rohankl-arm/mldsa-899-framework'
git rebase 'main'
git switch 'main'
git merge --no-ff 'rohankl-arm/mldsa-899-framework'
git switch 'main'
git merge --squash 'rohankl-arm/mldsa-899-framework'
git switch 'main'
git merge --ff-only 'rohankl-arm/mldsa-899-framework'
git switch 'main'
git merge 'rohankl-arm/mldsa-899-framework'
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!322
No description provided.