From: Tom Rini Date: Tue, 13 Oct 2020 10:07:05 -0400 Subject: [PATCH] lib: rsa: check algo match in rsa_verify_with_keynode In-Reply-To: <20200923171144.2786596-1-castet.matthieu@free.fr> References: <20200923171144.2786596-1-castet.matthieu@free.fr> Message-ID: <20201013140705.GM14816@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Sep 23, 2020 at 07:11:44PM +0200, Matthieu CASTET wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: