-
Notifications
You must be signed in to change notification settings - Fork 3k
Backport 4.1: ssl_fork_server RNG testing #10858
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
Open
gilles-peskine-arm
wants to merge
13
commits into
Mbed-TLS:mbedtls-4.1
Choose a base branch
from
gilles-peskine-arm:ssl_fork_server-rng-test-4.1
base: mbedtls-4.1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4328c67
Update framework with validate_ssl_logs.py
gilles-peskine-arm 30c1dba
SSL debug: dump the server ephemeral public key on the client
gilles-peskine-arm 316d79a
In ssl_fork_server tests, give the server its own seedfile
gilles-peskine-arm fff7adc
Test for distinct server random values in ssl_fork_server
gilles-peskine-arm 2265743
Test for distinct server ephemeral public keys in ssl_fork_server
gilles-peskine-arm ac39893
More testing of NV-seed only builds: run some ssl-opt, do legacy crypto
gilles-peskine-arm 0569a53
ssl_fork_server: Assert unique server random values with identical cl…
gilles-peskine-arm 54687bb
Fix temporary directory left behind on normal exit
gilles-peskine-arm 35bae71
Fix always-nonzero exit code and improve failure exit code
gilles-peskine-arm 1e55066
Fix copypasta in trap setup
gilles-peskine-arm cd084d2
Add missing dependency on "same seed" test case
gilles-peskine-arm f4da977
Fix ssl_fork_server tests when seedfile doesn't exist
gilles-peskine-arm 92d7824
Fix tf-psa-crypto object file paths
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
Submodule framework
updated
3 files
| +93 −0 | scripts/mbedtls_framework/ssl_log_parser.py | |
| +153 −0 | scripts/validate_ssl_logs.py | |
| +87 −26 | util/mbedtls_maintainer/mldsa_test_generator.py |
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This unconditional copy requires provision of the seedfile prior to running tests/ssl-opt.sh. Currently this seedfile is created in all.sh, which means that this then succeeds. However this will prevent the running of ssl-opt.sh without the provisioning of this file. Given that the command is a very short lived dd from urandom and as far as I can tell there are only 8 uses, is it worth moving this dd somewhere within ssl-opt. As this will make it easier to debug and maintain ssl-opt.sh?