WPS: Incorrect Authenticator at STA [wps_process_m2]

hari.c36 at wipro.com hari.c36
Sat Jun 9 11:22:24 PDT 2012


We are able to send M1 packet and got the M2 packet from AP.STA is failing to send M3 due to Authenticator Mismatch.Instead STA sends the WSC_NACK packets to AP.
The function wps_process_authenticator[wps_process_m2] returns NULL because of Authenticator mismatch.ie., the hash generated by HMAC-SHA-256 with last message and msg excluding authenticator is mismatching with the M2 Authenticator value.
So what can be the reasons for this mismatch.we are trying to port the supplicant wps code to an embedded platform.Verified the HMAC-SHA-256,sha256_vector,and all the inputs to this algorithms.Seems to be ok.
Not checked crypto_mod_exp[libtomath.c] but its returning public key.

Please help me how can we go forward to debug this issue.


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 


More information about the Hostap mailing list