mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 21:30:24 +00:00
edb7f05047
Processing of the Key Sequence is happening after each individual MLE command processing, which leads to generating MLE responses with outdated Key Sequence. Make sure that the new greater Key Sequence is applied before generating any MLE response. A test case is updated to catch the case in which fragmented Child Id Response was generated with the old Key Sequence whereas each individual MAC fragment is already updated with the new Key Sequence, leading to a security error.