Re: [PATCH 1/4] doc: signature: update algorithms support description
Hi Simon, On Tue, May 02 2023, Simon Glass wrote: > On Mon, 1 May 2023 at 22:47, Baruch Siach wrote: >> >> U-Boot supports more hash and verification algorithms these days. >> >> Signed-off-by: Baruch Siach >> --- >> doc/uImage.FIT/signature.txt | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Reviewed-by: Simon Glass Thanks. > Would you be interested in moving this documentation to doc/develop in > the rST format? I hope to find some time to help with that. baruch -- ~. .~ Tk Open Systems =}ooO--U--Ooo{= - bar...@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
Re: [PATCH 1/4] doc: signature: update algorithms support description
On Mon, 1 May 2023 at 22:47, Baruch Siach wrote: > > U-Boot supports more hash and verification algorithms these days. > > Signed-off-by: Baruch Siach > --- > doc/uImage.FIT/signature.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass Would you be interested in moving this documentation to doc/develop in the rST format? Regards, Simon
[PATCH 1/4] doc: signature: update algorithms support description
U-Boot supports more hash and verification algorithms these days. Signed-off-by: Baruch Siach --- doc/uImage.FIT/signature.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index c71280b63bb6..bc123f512f7b 100644 --- a/doc/uImage.FIT/signature.txt +++ b/doc/uImage.FIT/signature.txt @@ -42,8 +42,8 @@ device. Algorithms -- In principle any suitable algorithm can be used to sign and verify a hash. -At present only one class of algorithms is supported: SHA1 hashing with RSA. -This works by hashing the image to produce a 20-byte hash. +U-Boot supports a few hashing and verification algorithms. See below for +details. While it is acceptable to bring in large cryptographic libraries such as openssl on the host side (e.g. mkimage), it is not desirable for U-Boot. -- 2.39.2