Skip to content
Commit 167fb1f8 authored by Matthieu CASTET's avatar Matthieu CASTET Committed by Tom Rini
Browse files

lib: rsa: check algo match in rsa_verify_with_keynode



The algo name should match between the FIT's signature node and the
U-Boot's control FDT.

If we do not check it, U-Boot's control FDT can expect sha512 hash but
nothing will prevent to accept image with sha1 hash if the signature is correct.

Signed-off-by: default avatarMatthieu CASTET <castet.matthieu@free.fr>
parent 54ab7cf1
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