diff mbox series

[2/4] doc: signature: update algorithm addition description

Message ID 3da41960dc08691d2674e286090876d623843317.1683002851.git.baruch@tkos.co.il
State Accepted, archived
Commit e7a1dfa23fdc64cd3e61f0b2dff2917d8b84ee33
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 now uses the U_BOOT_CRYPTO_ALGO() macro.

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

Comments

Simon Glass May 3, 2023, 1:28 a.m. UTC | #1
On Mon, 1 May 2023 at 22:47, Baruch Siach <baruch@tkos.co.il> wrote:
>
> U-Boot now uses the U_BOOT_CRYPTO_ALGO() macro.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  doc/uImage.FIT/signature.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Heinrich Schuchardt May 5, 2023, 12:23 p.m. UTC | #2
On 5/3/23 03:28, Simon Glass wrote:
> On Mon, 1 May 2023 at 22:47, Baruch Siach <baruch@tkos.co.il> wrote:
>>
>> U-Boot now uses the U_BOOT_CRYPTO_ALGO() macro.
>>
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>> ---
>>   doc/uImage.FIT/signature.txt | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Thanks Baruch for updating the FIT documents.

The information in folder uImage.FIT should be moved to /doc/usage/
except for the its files. A few parts may have to split out into
/doc/devel/.

Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff mbox series

Patch

diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index bc123f512f7b..b6707417ff63 100644
--- a/doc/uImage.FIT/signature.txt
+++ b/doc/uImage.FIT/signature.txt
@@ -56,10 +56,10 @@  of data from the FDT and exponentiation mod n. Code size impact is a little
 under 5KB on Tegra Seaboard, for example.
 
 It is relatively straightforward to add new algorithms if required. If
-another RSA variant is needed, then it can be added to the table in
-image-sig.c. If another algorithm is needed (such as DSA) then it can be
-placed alongside rsa.c, and its functions added to the table in image-sig.c
-also.
+another RSA variant is needed, then it can be added with the
+U_BOOT_CRYPTO_ALGO() macro. If another algorithm is needed (such as DSA) then
+it can be placed in a directory alongside lib/rsa/, and its functions added
+using U_BOOT_CRYPTO_ALGO().
 
 
 Creating an RSA key pair and certificate