diff mbox series

[1/4] doc: signature: update algorithms support description

Message ID 58421075b02401535de82d4b91616c270b020982.1683002851.git.baruch@tkos.co.il
State Accepted, archived
Commit 76759e0086cc3804412fd5f6b330196698753488
Delegated to: Heinrich Schuchardt
Headers show
Series [1/4] doc: signature: update algorithms support description | expand

Commit Message

Baruch Siach May 2, 2023, 4:47 a.m. UTC
U-Boot supports more hash and verification algorithms these days.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 doc/uImage.FIT/signature.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass May 3, 2023, 1:27 a.m. UTC | #1
On Mon, 1 May 2023 at 22:47, Baruch Siach <baruch@tkos.co.il> wrote:
>
> U-Boot supports more hash and verification algorithms these days.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  doc/uImage.FIT/signature.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Would you be interested in moving this documentation to doc/develop in
the rST format?

Regards,
Simon
Baruch Siach May 3, 2023, 3:50 a.m. UTC | #2
Hi Simon,

On Tue, May 02 2023, Simon Glass wrote:
> On Mon, 1 May 2023 at 22:47, Baruch Siach <baruch@tkos.co.il> wrote:
>>
>> U-Boot supports more hash and verification algorithms these days.
>>
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>> ---
>>  doc/uImage.FIT/signature.txt | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>

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
diff mbox series

Patch

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.