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

X-Wing Hybrid KEM #4124

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

X-Wing Hybrid KEM #4124

wants to merge 2 commits into from

Conversation

FAlbertDev
Copy link
Collaborator

@FAlbertDev FAlbertDev commented Jun 14, 2024

This pull request introduces the X-Wing Hybrid Key Encapsulation Mechanism (KEM), which combines X25519 and ML-KEM-768 into a single KEM. The implementation uses the abstract KEM interface internally, even if only one composition is used.

The current specification of X-Wing is draft-connolly-cfrg-xwing-kem-02. Because it's still a draft, I've marked the x_wing module as experimental (i.e., configure.py --enable-experimental-features ... is required).

State of this Pull Request

This is a draft pull request as X-Wing relies on ML-KEM-768, which is not yet available in Botan. I will wait until the clean ML_KEM implementation is merged to avoid any rebase issues. Currently, the implementation uses Kyber-768 for roundtrip testing. The KATs provided in the draft have not yet been implemented.

Pull Request Dependencies

Based on draft-connolly-cfrg-xwing-kem-02
@coveralls
Copy link

Coverage Status

coverage: 91.747% (+0.03%) from 91.722%
when pulling 85e3a7c on Rohde-Schwarz:x-wing
into 954a758 on randombit:master.

@reneme reneme modified the milestones: Botan 3.6.0, Botan 3.7.0 Oct 7, 2024
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.

4 participants