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 |
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>
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 --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
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(-)