Skip to content
Commit 0772a1f4 authored by Daniele Alessandrelli's avatar Daniele Alessandrelli Committed by Simon Glass
Browse files

rsa: Return immediately if required-key verification fails



Currently, if image verification with a required key fails, rsa_verify()
code tries to find another key to verify the FIT image. This however, is
not the intended behavior as the documentation says that required keys
"must be verified for the image / configuration to be considered valid".

This patch fixes the issue by making rsa_verify() return immediately if
the verification of a required key fails.

Signed-off-by: default avatarDaniele Alessandrelli <daniele.alessandrelli@gmail.com>
parent ce5172cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment