Skip to content

Remove the length-prefixed logic for PQ key shares #5606

@CarolYeh910

Description

@CarolYeh910

Problem:

While working on the pure ML-KEM PR #5586, I learned from Alex that all of the length prefixing logic for PQ should eventually be removed from s2n-tls. It was only used in draft standards, and we have only promised customers to support PQ draft standards (i.e. tls13_pq_hybrid_draft_revision < 5) until the end of 2025. This means any values and logic that handles anything other than 5 can be removed eventually.

We should clean up the length-prefixed format for PQ and simplify the key share logic.

Need By Date:

N/A

Solution:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions