Author: hawkeyep, Posted: Tue Mar 09, 2010 2:41 am Post subject: difference between HMAC-SHA1 and algoritm for generating PSK ---- Hello, i am trying to code a C program for computing 256 bit PSK from passphrase and SSID.
There is written that PSK is computed using HMAC-SHA1 algorithm. But in RFC 2202: http://www.rfc-archive.org/getrfc.php?rfc=2202
are some examples for HMAC-SHA1.
For example:
Key = "Jefe"
data = "what do ya want for nothing?"
hash = 0xeffcdf6ae5eb2fa2d27416d5f184df9c259a7c79
When i use this Key and data as passphrase and SSID on the page for computing PSK, i get absolutely different hash.
It means that computing PSK is not a pure HMAC-SHA1 algorithm. So what is different?