[PATCH 3/4] image-fit-sig: Remove padding check

ChiaWei Wang chiawei_wang at aspeedtech.com
Mon Sep 23 10:22:16 CEST 2024


Hi Simon,

> -----Original Message-----
> From: Simon Glass <sjg at chromium.org>
> Sent: Saturday, September 21, 2024 12:02 AM> 
>
> Hi,
> 
> On Mon, 2 Sept 2024 at 07:33, Chia-Wei Wang
> <chiawei_wang at aspeedtech.com> wrote:
> >
> > The padding algorithm is not mandatory for all signing algorithm.
> >
> > For example, ECDSA does not require a padding method. The RSA case
> > which needs PKCS padding, the belonging info->crypto() also has the
> > check on the validity of info->padding().
> 
> Is that in rsa_verify_key() ?

Yes.

Regards,
Chiawei


More information about the U-Boot mailing list