RFC5869 HKDF
RFC5869 defines a HMAC-based Extract-and-Expand Key Derivation Function.
This can be implemented using DeriveMech_NISTKDFmGeneric as follows:
-
prfshould be the HMAC mechanism corresponding to the RFC5869 Hash parameter, e.g.Mech_HMACSHA256for SHA-256. -
ivshould be the empty byte string. -
labelcan be used to pass the RFC5869infostring. -
n_fieldsshould be 3 andfieldsshould be{ KDFField_Feedback, KDFField_Label, KDFField_Counter1r1 }