hostapd: fix OWE association with mbedtls
authorDavid Bauer <mail@david-bauer.net>
Tue, 24 Oct 2023 01:07:48 +0000 (03:07 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 31 Oct 2023 20:12:15 +0000 (21:12 +0100)
commit39341f422f895a37b405b753c3630b1bdc9b8c6e
treef30899d1ad5512e5aa51cf7060274b10c82171cb
parent79912a953111dee20a6f8abdf31a4fc25a9b160e
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/Makefile
package/network/services/hostapd/patches/135-mbedtls-fix-owe-association.patch [new file with mode: 0644]