difference between HMAC-SHA1 and algoritm for generating PSK

Networking/Security Forums -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security

Author: hawkeyep PostPosted: 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.

I used this page: http://www.xs4all.nl/~rjoris/wpapsk.html
as a source and to check the results.

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?



Networking/Security Forums -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group