-
Notifications
You must be signed in to change notification settings - Fork 42
Incremental TLS handshake defragmentation tests #143
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
gilles-peskine-arm
merged 8 commits into
Mbed-TLS:features/tls-defragmentation
from
gilles-peskine-arm:defragment-incremental-framework
Mar 7, 2025
Merged
Incremental TLS handshake defragmentation tests #143
gilles-peskine-arm
merged 8 commits into
Mbed-TLS:features/tls-defragmentation
from
gilles-peskine-arm:defragment-incremental-framework
Mar 7, 2025
Conversation
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
6 tasks
1c32dd8 to
27d4106
Compare
6 tasks
Signed-off-by: Gilles Peskine <[email protected]>
The symmetric encryption used for transportation matters for TLS 1.2 defragmentation, since the code is sensitive to the presence of an explicit IV. So have separate test cases for each class of symmetric encryption. Signed-off-by: Gilles Peskine <[email protected]>
In preparation for reworking mbedtls_ssl_prepare_handshake_record(), tweak the "waiting for more handshake fragments" log message in ssl_consume_current_message(), and add a similar one in mbedtls_ssl_prepare_handshake_record(). Assert both. Signed-off-by: Gilles Peskine <[email protected]>
In preparation for reworking mbedtls_ssl_prepare_handshake_record(), don't assert negatively on "reassembled record". Signed-off-by: Gilles Peskine <[email protected]>
Require the bug with defragmentation of encrypted handshake messages to be fixed. Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
b703ac8 to
8d85112
Compare
mpg
approved these changes
Mar 6, 2025
Contributor
mpg
left a comment
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.
LGTM, thanks
minosgalanakis
approved these changes
Mar 6, 2025
Contributor
minosgalanakis
left a comment
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.
LGTM
The CI failure is a false positive and not related to this PR
6a7a144
into
Mbed-TLS:features/tls-defragmentation
1 of 3 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Design and code approved - may be waiting for CI or backports
needs-preceding-pr
Requires another PR to be merged first
priority-high
High priority - will be reviewed soon
size-s
Estimated task size: small (~2d)
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.
Tweaked some tests and added a few more for Mbed-TLS/mbedtls#10011.
Status: Continues from #142. The first new commit is "Clarify test case description".
PR checklist