2

What is the reason that in the HKDF standard (RFC5869), in the "extract" phase, the 'salt" parameter is instantiated as HMAC key, and the secret keying material 'IKM' is instantiated as HMAC input data (so that the extract phase equation is PRK=HMAC(salt, IKM))? Especially, the RFC says that the salt, which plays the role of the key for the HMAC function, doesnt have to be secret at all. So it seems there is no security degradation if the key of the HMAC is known? and if the salt does not affect the security, why should it used anyway and not just do hash(IKM) instead of full HMAC?

Evgeni Vaknin
  • 1,076
  • 7
  • 18

0 Answers0