<div>Hi Jouni,</div><div><br></div><div>I&#39;m trying to understand how the data encryption of WPA2 is implemented in wpa_supplicant. So far, I found a key (wps-&gt;cred.key) was generated when building M8 of EAP-WSC in ./src/wps/wps_registrar.c. I think this key was the Master Key (MK). But i didn&#39;t find anywhere in the project this key being used. Also, I found in ./src/crypto/ folder the implementations of various AES algorithms. But I didn&#39;t find anywhere in the project these encryption functions being called. These two facts make me suspicious about whether the data encryption is implemented inside the wpa_supplicant or actually in another process. Could you shed some light on this question? Thank you.</div>
<div><br></div>-- <br><div>Regards,</div>
<div>Chao Xu</div><br>