]> git.ipfire.org Git - thirdparty/hostap.git/commit
FT: Fix PMK-R0 derivation for FT-SAE-EXT-KEY with SHA512
authorJouni Malinen <j@w1.fi>
Sun, 6 Nov 2022 22:29:39 +0000 (00:29 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 6 Nov 2022 22:29:39 +0000 (00:29 +0200)
commit271ce71c7af768346bf51ec1ff87e2824bd50187
tree70588e378ad3107b144892cd8fa081940d81110f
parent2f61d703a1b8b827857acc80bbc24bda0e085a3e
FT: Fix PMK-R0 derivation for FT-SAE-EXT-KEY with SHA512

Not only the hash[] array, but also the r0_key_data[] array needs to be
extended in size to fit the longer key and salt.

Fixes: a76a314c1535 ("FT: Extend PMK-R0 derivation for FT-SAE-EXT-KEY")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/wpa_common.c