]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: rsa: rsa-verify: don't look for keys in the FIT image
authorPhilippe Reynes <philippe.reynes@softathome.com>
Tue, 12 Jan 2021 18:18:54 +0000 (19:18 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000 (17:03 -0500)
commit040fad3791fe05b985516a68c9437847173da56a
treed0a2b09c319c2085528befe712588b7887947370
parenta7a029d14de44bdcd050181ec5544b1ae3728c8a
lib: rsa: rsa-verify: don't look for keys in the FIT image

In the function rsa_verify_hash, if the "main" key doesn't
work, u-boot try others keys. But it searches those keys
in the FIT image instead of the u-boot device tree.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-verify.c