Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgmt/osdp: cp: disallow unexpected SC responses
When CP has a secure channel active, it should never receive a REPLY_CCRYPT or REPLY_RMAC_I. Since these responses change the SC state, let's also make sure that they are accepted only when they are (cherry picked from commit 45085ba) Original-expected: in response to commands CMD_CHLNG and CMD_SCRYPT respectively. Original-Reported-by: Eran Jacob <eran.jacob@otorio.com> Original-Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com> GitOrigin-RevId: 45085ba Change-Id: I4c5681f561044e16111256d03e921e5554f45fe3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5608649 Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
- Loading branch information