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

Reply via email to