]> git.baikalelectronics.ru Git - uboot.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)
commite779af40b6cfd5f2df4569d09029d06ec53c871c
treed0a2b09c319c2085528befe712588b7887947370
parent0f5dd78aab19b52bbe651c40f868753a33564314
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