hostapd: fix OWE association with mbedtls mbedtls-owe
authorDavid Bauer <mail@david-bauer.net>
Tue, 24 Oct 2023 01:07:48 +0000 (03:07 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 26 Oct 2023 21:00:32 +0000 (23:00 +0200)
commit8aa16b460f72b70a0e59dd302914cf3bdc281d52
tree9b1da18c3397ea1ad520272ace2c8e715639ade1
parent7d6314851aa429e837b0fc1072e307179d114675
hostapd: fix OWE association with mbedtls

The code for hostapd-mbedtls did not work when used for OWE association.

When handling association requests, the buffer offsets and length
assumptions were incorrect, leading to never calculating the y point,
thus denying association.

Also when crafting the association response, the buffer contained the
trailing key-type.

Fix up both issues to adhere to the specification and make
hostapd-mbedtls work with the OWE security type.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/network/services/hostapd/patches/998-key-expansion.patch [new file with mode: 0644]