]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-pwd: Use const_time_memcmp() for pwd_value >= prime comparison
authorJouni Malinen <jouni@codeaurora.org>
Thu, 25 Apr 2019 16:07:05 +0000 (19:07 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 25 Apr 2019 16:07:05 +0000 (19:07 +0300)
commit7958223fdcfe82479e6ed71019a84f6d4cbf799c
tree67a22d65b21eeb64c781abf2e3c839db4ca7ad95
parent8e14b030e558d23f65d761895c07089404e61cf1
EAP-pwd: Use const_time_memcmp() for pwd_value >= prime comparison

This reduces timing and memory access pattern differences for an
operation that could depend on the used password.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/eap_common/eap_pwd_common.c