Skip to content

ml-dsa: implement KeyInit, KeyExport, KeySizeUser#1342

Merged
tarcieri merged 1 commit into
masterfrom
ml-dsa/crypto-common-key-traits
May 9, 2026
Merged

ml-dsa: implement KeyInit, KeyExport, KeySizeUser#1342
tarcieri merged 1 commit into
masterfrom
ml-dsa/crypto-common-key-traits

Conversation

@tarcieri

@tarcieri tarcieri commented May 9, 2026

Copy link
Copy Markdown
Member

Implements these traits sourced from the crypto-common crate.

Also implements the Generate trait for key generation, replacing the previous KeyGen trait, which this commit deprecates in favor of using KeyInit and Generate.

This also adds a getrandom feature that forwards through to crypto-common, making methods available on the Generate trait when enabled.

Implements these traits sourced from the `crypto-common` crate.

Also implements the `Generate` trait for key generation, replacing the
previous `KeyGen` trait, which this commit deprecates in favor of using
`KeyInit` and `Generate`.

This also adds a `getrandom` feature that forwards through to
`crypto-common`, making methods available on the `Generate` trait when
enabled.
@tarcieri tarcieri force-pushed the ml-dsa/crypto-common-key-traits branch from 8875531 to 9f256eb Compare May 9, 2026 19:26
@tarcieri tarcieri merged commit 62fa7ac into master May 9, 2026
88 checks passed
@tarcieri tarcieri deleted the ml-dsa/crypto-common-key-traits branch May 9, 2026 20:19
tarcieri added a commit that referenced this pull request May 9, 2026
It has been replaced by the `KeyInit` and `Generate` traits from the
`crypto-common` crate.

See also: #1342
@tarcieri tarcieri mentioned this pull request May 17, 2026
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