-
Notifications
You must be signed in to change notification settings - Fork 110
Support committed generated test data and add PQCP test data #690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mpg
merged 15 commits into
Mbed-TLS:development
from
gilles-peskine-arm:mldsa-pqcp-dispatch
Mar 3, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f118927
Update framework with generate_files_helper.py and generate_mldsa_tes…
gilles-peskine-arm 6ef06f3
Use the heap instead of the stack for .datax file lines
gilles-peskine-arm e106367
Prepare to generalize check_option_lists.py
gilles-peskine-arm 355ca7c
check_committed_generated_files.py: use the new generate_files_helper…
gilles-peskine-arm 7ff1a2a
Add Python requirements from framework/util
gilles-peskine-arm 782970e
Fix support function doing Python detection
gilles-peskine-arm 3e1c9e1
Test the mldsa-native functions that we'll use
gilles-peskine-arm 1c5048c
Add test data generated by generate_mldsa_tests.py
gilles-peskine-arm a417f82
Make the test data deterministic
gilles-peskine-arm b41395b
Don't increase the buffer size if the line fits exactly
gilles-peskine-arm 993e21a
Move check_committed_generated_files to its own component
gilles-peskine-arm afbee36
Fix unduly larger buffer passed for the signature
gilles-peskine-arm e314a53
Add trailing comma
gilles-peskine-arm 53e5d76
Use the symbolic error code MLD_ERR_FAIL recently added to mldsa-native
gilles-peskine-arm 3ddcec5
Validate that the verify function checks the signature length
gilles-peskine-arm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Changes | ||
| * Running the unit tests now requires a heap (possibly from | ||
| MBEDTLS_MEMORY_BUFFER_ALLOC_C). They now use less stack (almost | ||
| 5000 bytes less). |
Submodule framework
updated
37 files
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #!/usr/bin/env python3 | ||
|
|
||
| """ | ||
| Check that TF-PSA-Crypto files that can be regenerated are up-to-date, or update them. | ||
| """ | ||
|
|
||
| # Copyright The Mbed TLS Contributors | ||
| # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
|
|
||
| import scripts_path # pylint: disable=unused-import | ||
| from mbedtls_framework import config_macros | ||
| from mbedtls_framework import generate_files_helper | ||
|
|
||
| GENERATORS = [ | ||
| config_macros.Current(shadow_missing_ok=True), | ||
| generate_files_helper.TestDataGenerator('framework/util/generate_mldsa_tests.py'), | ||
| ] | ||
|
|
||
| if __name__ == '__main__': | ||
| generate_files_helper.main(generators=GENERATORS, | ||
| description=__doc__) |
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.