]> git.ipfire.org Git - thirdparty/hostap.git/commit
AES-GCM: Use os_memcmp_const() for hash/password comparisons
authorJouni Malinen <j@w1.fi>
Sun, 29 Jun 2014 17:16:58 +0000 (20:16 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:47 +0000 (12:38 +0300)
commit05f916eeed4082a3b0cffd9dbad00d0a50237433
treed4e5d8ed3416edcd1d9009ef8c8ff69331ad0029
parent87a5c93bec420ea81bee89f241908a70da9596c5
AES-GCM: 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/crypto/aes-gcm.c