Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-16 Thread Jouni Malinen
double the maximum length of that range and then scaling to to the range which is significantly harder calculation (took around 40 times longer than needed in some of my tests) and completely unnecessary for this function. This commit fixes that issue: https://w1.fi/cgit/hostap/com

Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-13 Thread Jouni Malinen
r = tmp; + *qnr = q; else - crypto_bignum_deinit(tmp, 0); + crypto_bignum_deinit(q, 0); } - if (*qr && *qnr) - return 0; - crypto_bignum_deinit(*qr,

Re: [OpenWrt-Devel] hostap commit 6c9543fcb breaks MESH-SAE with wolfssl

2020-05-13 Thread Jouni Malinen
On Tue, May 12, 2020 at 10:46:12PM +0100, Daniel Golle wrote: > After hours of bisecting which change between hostapd_2_8 and > hostapd_2_9 broke SAE in mesh mode with WolfSSL we got a result: > > > commit 6c9543fcb7962e26c2a91c43089abe171d073b44 > > Author: Jouni Malinen &

Re: [OpenWrt-Devel] [PATCH RFC] cfg80211: add new command for reporting wiphy crashes

2019-09-20 Thread Jouni Malinen
irmware responding again" which does not really tell much to user space other than potentially requiring full disable + re-enable for the related interfaces. And that is something that should not actually be done in all cases of firmware crashes since there are drivers that handl