PBKDF2 & HMAC-SHA1-128 Functions

John Deer tiputa at yahoo.com
Wed Oct 12 12:49:10 UTC 2022


What OpenSSL functions to use in "Visual Studio 2022" to create a C++ program::
 
PSK = PBKDF2(Passphrase, SSID, 4096)
PMK = PBKDF2(HMAC−SHA1, PSK, SSID, 4096, 256)
PMKID = HMAC-SHA1-128(PMK,"PMK Name" | MAC_AP | MAC_STA)
 
Sample test data for PSK (Pre-Shared Key)
 
Network SSID:   linksys54gh
WPA passphrase: radiustest
PSK = 9e9988bde2cba74395c0289ffda07bc41ffa889a3309237a2240c934bcdc7ddb (Result)
 
See WPA key calculation in the link here
 
Caster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20221012/28f87ead/attachment.htm>


More information about the openssl-users mailing list