-
Notifications
You must be signed in to change notification settings - Fork 2.8k
TLS 1.3: Add mbedtls_ssl_write_early_data() API #8760
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
ronald-cron-arm
merged 31 commits into
Mbed-TLS:development
from
ronald-cron-arm:tls13-write-early-data
Feb 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b62732e
tls13: cli: Add mbedtls_ssl_write_early_data() API
xkqian 54a3829
ssl_client2: Simplify early_data option
ronald-cron-arm 4e1bd47
ssl_client2: Move code to build http request
ronald-cron-arm ccfaefa
ssl_client2: Switch from int to size_t
ronald-cron-arm 2fe0ec8
ssl_client2: Add buffer overflow check
ronald-cron-arm a556189
ssl_client2: Add support for early data writing
ronald-cron-arm 30bb7ce
Add test case for early data writing
xkqian 2fbbba9
tests: ssl: Add write early data unit test
ronald-cron-arm 8fe2b01
tests: write early data: Add "not sent" scenario
ronald-cron-arm 05600e2
tests: write early data: Add "server rejects" scenario
ronald-cron-arm b3d42fd
tests: write early data: Add HRR scenario
ronald-cron-arm e273f72
tls13: client: Improve CCS handling
ronald-cron-arm 5fbd270
tls13: Use a flag not a counter for CCS and HRR handling
ronald-cron-arm 84dfbf4
tls13: client: Add comment about early data in 2nd ClientHello
ronald-cron-arm b9a9b1f
tls13: Fix/Improve comments
ronald-cron-arm d6d32b9
tls13: Improve declaration and doc of early data status
ronald-cron-arm 24da991
tests: ssl: early data: Add systematic default case in scenario switches
ronald-cron-arm 4922190
tls13: write_early_data: Add endpoint check
ronald-cron-arm d406924
Improve comments/documentation
ronald-cron-arm b4fd47e
ssl_client2: Default to library default for early data enablement
ronald-cron-arm 0aead12
ssl_client2: Improve loop writing early data
ronald-cron-arm bf5e909
tests: write early data: Check we can complete handshake after writing
ronald-cron-arm 0004600
tests: write early data: Inverse loop over state logic
ronald-cron-arm e21c2d2
tls13: cli: Add missing MBEDTLS_SSL_EARLY_DATA guards
ronald-cron-arm 9f2c3c0
tls13: cli: Add mbedtls_ssl_get_early_data_status() API
ronald-cron-arm 86d288c
tests: ssl: Rename tls13_early_data to tls13_read_early_data
ronald-cron-arm 110303f
tests: read early data: Add no early data indication sent scenario
ronald-cron-arm 7d158f4
tests: read early data: Use write API to send early data
ronald-cron-arm 8f1de7e
tls13: Improve documentation
ronald-cron-arm f19989d
tls13: Improve sanity check in get_early_data_status
ronald-cron-arm dcb09ca
tests: write early data: Improve get_early_data_status testing
ronald-cron-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
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.