latchset / kryoptic

a pkcs#11 software token written in Rust
GNU General Public License v3.0
11 stars 4 forks source link

Implement a vendor KDF for SSH-KDF #78

Closed simo5 closed 3 months ago

simo5 commented 3 months ago

SSH-KDF is similar to SP800 KDF and PBKDF2 in some ways, but it uses just a hash instead of a proper HMAC and no counter, instead re-hashes in the previous hash when expansion is needed.

This means none of the standard PKCS#11 KDFs really cover it and will need to elaborate a new proposal, starting with implementing a vendor namespaced version to kick the tires.