I was studying WPA2 and it's security when I came across this problem. I know that WPA2 uses PBKDF2 to generate a Pairwise Master Key. It does something like this;
DK = PBKDF2(prf=HMAC-SHA1, key=password, salt=ssid, DkLen=64, iterations=4096).
I get that. But what I don't is the PRF module itself. HMAC itself is h(k + h(k+m))
So, The rest of the part I get, but within the HMAC,
- What goes in as the KEY and the MESSAGE?
- Are both the same?
- if not what are they?