EAPOL supplicant: Use os_memcmp_const() for hash/password comparisons
authorJouni Malinen <j@w1.fi>
Sun, 29 Jun 2014 17:16:10 +0000 (20:16 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:47 +0000 (12:38 +0300)
commit7c24f53c8806fba2b20459c417c5b9dc60dc4666
tree867a7bae172124acc3c9b985def71e4bde2175d6
parent870834a19bb1efd50cc4faf098a781f5c23c994b
EAPOL supplicant: Use os_memcmp_const() for hash/password comparisons

This makes the implementation less likely to provide useful timing
information to potential attackers from comparisons of information
received from a remote device and private material known only by the
authorized devices.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eapol_supp/eapol_supp_sm.c