rosect190 at rosect190
Fri Jan 14 00:05:35 PST 2011

When using PEAP/MSCHAPv2, there are two places where keys are generated.

One is in eap_server.c / SM_STATE(EAP, METHOD_RESPONSE), where eap_peap_getKey() 
is called (sm->eap_if.eapKeyData = sm->m->getKey(..))

The other is in eap_server_peap.c  where eap_mschapv2_getKey() is called.
(data->phase2_key = data->phase2_method->getKey();)

What are the differences between the two keys? Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Hostap mailing list