Skip to content

kdf v0.1.0#2256

Merged
tarcieri merged 1 commit into
masterfrom
kdf/v0.1.0
Feb 2, 2026
Merged

kdf v0.1.0#2256
tarcieri merged 1 commit into
masterfrom
kdf/v0.1.0

Conversation

@tarcieri
Copy link
Copy Markdown
Member

@tarcieri tarcieri commented Feb 2, 2026

Initial release

@tarcieri tarcieri requested a review from newpavlov February 2, 2026 00:00
@tarcieri
Copy link
Copy Markdown
Member Author

tarcieri commented Feb 2, 2026

This is wired up to hkdf and all of the PBKDFs in https://github.com/RustCrypto/password-hashes

It hasn't been implemented for anything other than hkdf in https://github.com/rustcrypto/kdfs because we'll need to define per-algorithm ZSTs to do the trait impl on.

There isn't much to it but it's useful functionality, particularly for PAKEs where there isn't otherwise a good trait to hook into the low-level KDF interface.

If there's one thing left to discuss it's probably the Error type: the crate defines its own unit struct, but some other options are an associated Error type, or an enum Error with some variants for common KDF errors.

Edit: let's try the simple error type and see if anyone requests something different.

@tarcieri tarcieri merged commit 30042f0 into master Feb 2, 2026
79 checks passed
@tarcieri tarcieri deleted the kdf/v0.1.0 branch February 2, 2026 03:07
tarcieri added a commit to RustCrypto/password-hashes that referenced this pull request Feb 2, 2026
tarcieri added a commit to RustCrypto/password-hashes that referenced this pull request Feb 2, 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.

2 participants