• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

difference between HMAC-SHA1 and algoritm for generating PSK

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security

View previous topic :: View next topic  
Author Message
hawkeyep
Just Arrived
Just Arrived


Joined: 09 Mar 2010
Posts: 0


Offline

PostPosted: Tue Mar 09, 2010 2:41 am    Post subject: difference between HMAC-SHA1 and algoritm for generating PSK Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register