There is an error in the condition of the last if-statement in the function smp_check_keys. It was rejecting current keys if all requirements were unmet.Referenceshttps://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3286-jgjx-8cvr