NWM Services: Difference between revisions

mNo edit summary
No edit summary
Line 17: Line 17:
=NWM service "nwm::TST"=
=NWM service "nwm::TST"=


=Local-WLAN WPA2 Passphrase Generation=
=Local-WLAN UDS CCMP Key Generation=
All local-WLAN communications have the WPA2 passphrase generated the same way with NWM module. The input data used with [[Process_Services|EncryptDecryptAes]] with [[PSPXI:EncryptDecryptAes|keytype1]] is a MD5 hash over an input passphrase. This input passphrase is fixed for [[Download Play]](the input passphrase for [[StreetPass]] is unknown), it's unique per local-WLAN protocol. The CTR is a MD5 hash over the below 0x10-byte structure. The output from encrypting that data with AES-CTR is the final WPA2 passphrase.
All UDS local-WLAN communications have the CCMP key for data encryption generated the same way via NWM module. The input data used with [[Process_Services|EncryptDecryptAes]] with [[PSPXI:EncryptDecryptAes|keytype1]] is a MD5 hash over an input passphrase. This input passphrase is fixed for [[Download Play]], it's unique per local-WLAN protocol. The CTR is a MD5 hash over the below 0x10-byte structure. The output from encrypting that data with AES-CTR is the final CCMP key.


==Structure used for generating the CTR==
==Structure used for generating the CTR==