diff options
author | Baruch Siach <baruch@tkos.co.il> | 2023-05-02 07:47:29 +0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-05-13 12:09:50 +0300 |
commit | e7a1dfa23fdc64cd3e61f0b2dff2917d8b84ee33 (patch) | |
tree | d22b90a5bbae0a00dec1ec3be1b1fb67a7df5ebd | |
parent | 76759e0086cc3804412fd5f6b330196698753488 (diff) | |
download | u-boot-e7a1dfa23fdc64cd3e61f0b2dff2917d8b84ee33.tar.xz |
doc: signature: update algorithm addition description
U-Boot now uses the U_BOOT_CRYPTO_ALGO() macro.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | doc/uImage.FIT/signature.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index bc123f512f..b6707417ff 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 |