latchset / kryoptic

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

Implement a vendor KDF for SSH-KDF #78

Closed simo5 closed 2 months ago

simo5 commented 2 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.