Skip to content

Comments

feat(hmac-sha256): tls 1.3 key schedule#1001

Open
themighty1 wants to merge 1 commit intomainfrom
feat/tls_13_prf
Open

feat(hmac-sha256): tls 1.3 key schedule#1001
themighty1 wants to merge 1 commit intomainfrom
feat/tls_13_prf

Conversation

@themighty1
Copy link
Member

This PR implement an MPC protocol for computing TLS 1.3 key schedule. To accommodate it, I also made changes in the existing TLS 1.2 PRF.

Notable changes:

  • Isolate all HMAC-related functionality into a separate module, so that we don't leak the inner/outer_partial terminology outside of that module.

  • Modified TLS 1.2 PRF to use the Hmac module.

  • Streamlined flush() logic in hopes of making the protocol easier to reason about. Now all sub-functionalities are flushed unconditionally.

  • Added the is_complete() method to all functionalities since relying on !wants_flush() proved not to be robust enough.

@heeckhau heeckhau changed the base branch from dev to main January 30, 2026 11:54
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.

1 participant