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

Review: Write ChangeCipherSpec #216

Open
hannestschofenig opened this issue Apr 26, 2021 · 0 comments
Open

Review: Write ChangeCipherSpec #216

hannestschofenig opened this issue Apr 26, 2021 · 0 comments

Comments

@hannestschofenig
Copy link
Owner

hannestschofenig commented Apr 26, 2021

This issue it to track the review and potential rework of the client- and server-side side backwards compatibility mode in preparation for upstreaming.

This issue is focused on the review of the ChangeCipherSpec.

The relevant function is mbedtls_ssl_write_change_cipher_spec_process() on the client-side in the following states:

  • MBEDTLS_SSL_CLIENT_CCS_AFTER_CLIENT_HELLO,
  • MBEDTLS_SSL_CLIENT_CCS_BEFORE_2ND_CLIENT_HELLO, and
  • MBEDTLS_SSL_CLIENT_CCS_AFTER_SERVER_FINISHED.

For the server-side the following states are relevant:

  • MBEDTLS_SSL_SERVER_CCS_AFTER_HRR
  • MBEDTLS_SSL_SERVER_CCS_AFTER_SERVER_HELLO

Things to look for:

Security
Functional correctness
Clarity of code and information flow
Adherence to Mbed TLS style

Acceptance criteria: One or more PRs improving on the above points to the satisfaction of the team, or a confirmation of review with the result that no changes were necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant