Skip to content

Conversation

@tarcieri
Copy link
Member

Companion PR to RustCrypto/traits#2243

This implements a trait which describes a whole KEM type family, with a similar shape to the former dhkem::DhKem and ml_kem::KemCore traits (both of which have been removed and replaced with kem::Kem).

As part of this, the *Params types in ml_kem have been merged with the former type aliases of the ml_kem::Kem type (which have also been removed), and now MlKem512, MlKem768, and MlKem1024 are the one true ZSTs for describing ML-KEM parameters.

@tarcieri tarcieri force-pushed the impl-kem-trait branch 3 times, most recently from 0f1c49b to 7eb650e Compare January 30, 2026 19:02
@tarcieri tarcieri force-pushed the impl-kem-trait branch 5 times, most recently from 0642c18 to 44c641e Compare January 30, 2026 19:41
Companion PR to RustCrypto/traits#2243

This implements a trait which describes a whole KEM type family, with a
similar shape to the former `dhkem::DhKem` and `ml_kem::KemCore` traits
(both of which have been removed and replaced with `kem::Kem`).

As part of this, the `*Params` types in `ml_kem` have been merged with
the former type aliases of the `ml_kem::Kem` type (which have also been
removed), and now `MlKem512`, `MlKem768`, and `MlKem1024` are the one
true ZSTs for describing ML-KEM parameters.
@tarcieri tarcieri merged commit 69a5030 into master Jan 30, 2026
44 checks passed
@tarcieri tarcieri deleted the impl-kem-trait branch January 30, 2026 19:50
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.

2 participants