]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Reject commit-scalar value 1
authorJouni Malinen <j@w1.fi>
Sat, 27 Jun 2015 09:41:40 +0000 (12:41 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 27 Jun 2015 09:41:40 +0000 (12:41 +0300)
commit0c2b3f6541a4e07cfb920ce35ce98812f803419c
tree65c1f242e058ae89be89e716e5056af837b6bc5d
parenta3704b2aaee8e52344e59088f94ac52bff21831c
SAE: Reject commit-scalar value 1

IEEE Std 802.11-2012 description of SAE does not require this, i.e., it
describes the requirement as 0 < scalar < r for processing the Commit
message. However, this is not correct and will be changes to 1 < scalar
< r to match the Dragonfly description so that a trivial secret case
will be avoided explicitly.

This is not much of an issue for the locally generated commit-scalar
since it would be very unlikely to get the value of 1. For Commit
message processing, a peer with knowledge of the password could
potentially force the exchange to expose key material without this
check.

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