Hello, everybody!
I am trying to use aes-ccm algorithm extending ported wpa_supplicant interface with files from original:
https://w1.fi/cgit/hostap/tree/wlantest
- ccmp.c
https://w1.fi/cgit/hostap/tree/src/crypto
- aes-ccm.h
- aes-ccm.c
I use release/v2.0 and I guess that it's wpa_supplicant port (probably for all releases) is made as interface to mbedtls ciphers implementation.
It looks like working, but very often authentication of messages fails. It does not depend on packet size, but looks like depends from calls rate: higher rate - more errors. Thus I suspect that it could be an issue with not thread-safe access to underlying AES processing layer. I don't have race condition at my calls level.
I also don't have any task of higher priority and this operation runs are executing from wifi promiscuous callback.
Where to look at to solve this?
Is AES from wep_supplicant threadsafe?
-
- Posts: 51
- Joined: Wed Aug 30, 2017 12:36 pm
Re: Is AES from wep_supplicant threadsafe?
Ok, guys, problem is solved. AES works fine, my issue was in deaggregation of 802.11n packets.
Thanks anyway!
Thanks anyway!
Who is online
Users browsing this forum: No registered users and 97 guests