WPS: Optimize M2 processing in AP Setup Locked case
authorJouni Malinen <j@w1.fi>
Tue, 24 Aug 2010 13:42:26 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 24 Aug 2010 13:42:26 +0000 (16:42 +0300)
commitef546700e2da4ca3c518a879310f4a816480ee3c
treefa06ba2ea5e04d0403d0a11abc4d634c3f8c0484
parent5a1cc30f1a04eb19d315680928927651024e172e
WPS: Optimize M2 processing in AP Setup Locked case

There is no need to process the public key and generate keys if
the AP is going to reject this M2 anyway. This limits effect of
potential CPU DoS attacks in cases where AP PIN is disabled.
src/wps/wps_enrollee.c