Skip to content
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

Issue9887 extend add basic defragmentation tests #9990

Open
wants to merge 29 commits into
base: features/tls-defragmentation/development
Choose a base branch
from

Conversation

minosgalanakis
Copy link
Contributor

Description

Implements a portion of the testing needed for #9872. This pr extends #9928 and #9989 and resolves #9968

PR checklist

Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.

  • changelog provided | not required because:
  • development PR provided # | not required because:
  • TF-PSA-Crypto PR provided # | not required because:
  • framework PR provided Mbed-TLS/mbedtls-framework# | not required
  • 3.6 PR provided # | not required because:
  • 2.28 PR provided # | not required because:
  • tests provided | not required because:

rojer and others added 28 commits February 17, 2025 14:48
Co-authored-by: minosgalanakis <[email protected]>
Signed-off-by: Deomid 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]>
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
The first fragment of a fragmented handshake message always starts at the beginning of the buffer so there's no need to store it.

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]>
TODO: This is an intermediate commit for review purposes.
All of the removed cases will need to be validated.

Signed-off-by: Minos Galanakis <[email protected]>
@minosgalanakis minosgalanakis force-pushed the issue9887_extend_add_basic_defragmentation_tests branch from d835e24 to 021ed2d Compare February 17, 2025 23:24
@minosgalanakis minosgalanakis force-pushed the issue9887_extend_add_basic_defragmentation_tests branch from 021ed2d to 4838766 Compare February 18, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants