commit | 335b01c5eba090081e4c15bd318ddb759e5ef721 | [log] [tgz] |
---|---|---|
author | Matthieu CASTET <castet.matthieu@free.fr> | Wed Sep 23 19:11:44 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 12 21:30:38 2020 -0400 |
tree | 61cb0b6cdff9191fd3ded48a03f12d94126681f6 | |
parent | a82ea9de76336c8310bba857fd0ce8781c905856 [diff] |
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: Matthieu CASTET <castet.matthieu@free.fr>