mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-08 03:31:21 +00:00
1da00a482f
Depending on the use case and on the timings, aes_auth_crypt_check_status() sometimes never reported an available result, leading to a deadlock of any protothread waiting for this event, and to a WDT reset if a protothread was polling it. This was caused by aes_auth_crypt_start() clearing the result available interrupt after operations that may rightfully trigger it, leading to a missed interrupt. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>