Hi I am new to cryptography and am confused as to how HKDF generates two separate keys from one single key/password. Is it as follows?
Key 1: HKDF-Extract(salt, IKM) -> PRK
Key 2: HKDF-Expand(PRK, info, L) -> OKM
OR is it that
Key 1: HKDF-Extract(salt, IKM) -> PRK
Key 2: SHA-512(PRK)
Where Key 2 would be HMAC-key?
Could it be that one key is derived using pb-kdf and hmac-key is derived using hkdf?