From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v7 4/7] lib: rsa: generate additional parameters for public key
Date: Thu, 12 Mar 2020 12:48:43 -0400 [thread overview]
Message-ID: <20200312164843.GW12423@bill-the-cat> (raw)
In-Reply-To: <20200221061301.19660-5-takahiro.akashi@linaro.org>
On Fri, Feb 21, 2020 at 03:12:58PM +0900, AKASHI Takahiro wrote:
> In the current implementation of FIT_SIGNATURE, five parameters for
> a RSA public key are required while only two of them are essential.
> (See rsa-mod-exp.h and uImage.FIT/signature.txt)
> This is a result of considering relatively limited computer power
> and resources on embedded systems, while such a assumption may not
> be quite practical for other use cases.
>
> In this patch, added is a function, rsa_gen_key_prop(), which will
> generate additional parameters for other uses, in particular
> UEFI secure boot, on the fly.
>
> Note: the current code uses some "big number" routines from BearSSL
> for the calculation.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200312/84e4c9d1/attachment.sig>
next prev parent reply other threads:[~2020-03-12 16:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-21 6:12 [PATCH v7 0/7] rsa: extend rsa_verify() for UEFI secure boot AKASHI Takahiro
2020-02-21 6:12 ` [PATCH v7 1/7] lib: rsa: decouple rsa from FIT image verification AKASHI Takahiro
2020-03-12 16:48 ` Tom Rini
2020-02-21 6:12 ` [PATCH v7 2/7] rsa: add CONFIG_RSA_VERIFY_WITH_PKEY config AKASHI Takahiro
2020-03-12 16:48 ` Tom Rini
2020-02-21 6:12 ` [PATCH v7 3/7] include: image.h: add key info to image_sign_info AKASHI Takahiro
2020-03-12 16:48 ` Tom Rini
2020-02-21 6:12 ` [PATCH v7 4/7] lib: rsa: generate additional parameters for public key AKASHI Takahiro
2020-03-12 16:48 ` Tom Rini [this message]
2020-02-21 6:12 ` [PATCH v7 5/7] lib: rsa: add rsa_verify_with_pkey() AKASHI Takahiro
2020-03-12 16:48 ` Tom Rini
2020-02-21 6:13 ` [PATCH v7 6/7] test: add rsa_verify() unit test AKASHI Takahiro
2020-03-12 16:48 ` Tom Rini
2020-02-21 6:13 ` [PATCH v7 7/7] test: enable RSA library test on sandbox AKASHI Takahiro
2020-03-12 16:49 ` Tom Rini
2020-02-21 17:18 ` [PATCH v7 0/7] rsa: extend rsa_verify() for UEFI secure boot Tom Rini
2020-02-25 4:55 ` AKASHI Takahiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200312164843.GW12423@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox