AES-CCM: Use os_memcmp_const() for hash/password comparisons
authorJouni Malinen <j@w1.fi>
Sun, 29 Jun 2014 17:16:39 +0000 (20:16 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:47 +0000 (12:38 +0300)
commit87a5c93bec420ea81bee89f241908a70da9596c5
tree6adfc32873334f7d38b78dc34bdd9812976afc53
parent7c24f53c8806fba2b20459c417c5b9dc60dc4666
AES-CCM: 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-ccm.c