]> git.ipfire.org Git - thirdparty/hostap.git/commit
OWE: Select KDF hash algorithm based on the length of the prime
authorJouni Malinen <jouni@codeaurora.org>
Thu, 23 Jan 2020 18:04:40 +0000 (20:04 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 23 Jan 2020 22:47:16 +0000 (00:47 +0200)
commitbd50805e40f603fc4a2298edaf8ef02bc5600afe
treeecbd91842091c98ab53fb1a6f0702497b5df39c5
parent10bdce692d3112cb099e004fe0775c89d7ad7b50
OWE: Select KDF hash algorithm based on the length of the prime

Previous implementation was hardcoding use of SHA256 PMK-to-PTK
derivation for all groups. Replace that with hash algorithm selection
based on the length of the prime similarly to the way this was done for
other derivation steps in OWE.

This breaks backwards compatibility when using group 20 or 21; group 19
behavior remains same.

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