<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;"><div>When using PEAP/MSCHAPv2, there are two places where keys are generated.<br><br>One is in eap_server.c / SM_STATE(EAP, METHOD_RESPONSE), where eap_peap_getKey() is called (sm-&gt;eap_if.eapKeyData = sm-&gt;m-&gt;getKey(..))<br><br>The other is in eap_server_peap.c&nbsp; where eap_mschapv2_getKey() is called.<br>(data-&gt;phase2_key = data-&gt;phase2_method-&gt;getKey();)<br><br>What are the differences between the two keys? Thank you.<br></div>
</div></body></html>