- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33
Closed
Description
The current api design makes the assumption that you can provide initial key material to expand, on that you have a prk that is able to create a new hmac instance.
However, if we don't have access to the key bytes directly (pkcs11, tpm), it would be good to be able to initialise a hkdf from an existing hmac instance provided that trait needed traits are satifised.
For example
let tpm_hmac = ...... ; // impls the needed Mac traits, output size user, etc. 
let hkdf = Hkdf::from<tpm_hmac>(tpm_hmac);
Metadata
Metadata
Assignees
Labels
No labels