-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Defragment ext test 3.6 #9976
Draft
mpg
wants to merge
30
commits into
Mbed-TLS:mbedtls-3.6
Choose a base branch
from
mpg:defragment-ext-test-3.6
base: mbedtls-3.6
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.
Draft
Defragment ext test 3.6 #9976
+611
−52
Conversation
This file contains 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
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
Co-authored-by: minosgalanakis <[email protected]> Signed-off-by: Deomid Ryabkov <[email protected]>
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
Except the first Signed-off-by: Deomid rojer Ryabkov <[email protected]>
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
Tests uses openssl s_server with a mix of max_send_frag and split_send_frag options. Signed-off-by: Waleed Elmelegy <[email protected]>
* Add tests for the server side. * Remove restriction for TLS 1.2 so that we can test TLS 1.2 & 1.3. * Use latest version of openSSL to make sure -max_send_frag & -split_send_frag flags are supported. Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
…entation tests Signed-off-by: Waleed Elmelegy <[email protected]>
…tation Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Not used so far, just the scaffolding. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Manually remove it in ssl.h, then: sed -i 's/ssl->in_iv/ssl->in_ext->in_iv/g' library/ssl_*.[ch] Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Manually remove from ssl.h, then: sed -i 's/ssl->in_hs\(hdr\|fraglen\)/ssl->in_ext->in_hs\1/g' library/ssl_*.[ch] Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
In principle, pointers to char and pointers to word-aligned structs might have different sizes. However, it's guaranteed that any pointer can be converted to a char pointer and back, so it's OK to store the pointer to struct as a pointer to char. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Not used for real stuff so far, just getting the tooling in place. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
This allows us to use a ciphersuite that will still be supported in 4.0. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
That struct doesn't really need early initializing anyway, it's not freed in the exit block. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Two of these tests reveal bugs in the code, so they're commented out for now. For the other tests, the high-level behaviour is OK (break the handshake) but the details of why are IMO not good: they should be rejected because interleaving non-HS record between HS fragments is not valid according to the spec. To be fixed in future commits. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
WIP, pushed for early CI feedback.
Built on top of #9949 - only the last few commits are new.
PR checklist