]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Add testing option to corrupt public key hash
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 28 Nov 2013 13:47:19 +0000 (15:47 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jan 2014 19:44:31 +0000 (21:44 +0200)
commit91226e0d120c81bee6dc2c48cc5c86f2d3a17c3b
treeb39faac33ba8a5fb1f8b6abeccf009e9c514f970
parent73127764fe00ac9ac86419ba420f20f86d60733d
WPS: Add testing option to corrupt public key hash

If CONFIG_WPS_TESTING=y is enabled in build configuration, the new
wps_corrupt_pkhash parameter (similar to wps_testing_dummy_cred) can be
used to request public key hash to be corrupted in all generated OOB
Device Password attributes. This can be used for testing purposes to
validate public key hash validation steps.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/ctrl_iface.c
src/wps/wps.c
src/wps/wps_attr_build.c
src/wps/wps_defs.h
wpa_supplicant/ctrl_iface.c