From: Tom Rini Date: Thu, 12 Mar 2020 12:48:43 -0400 Subject: [PATCH v7 4/7] lib: rsa: generate additional parameters for public key In-Reply-To: <20200221061301.19660-5-takahiro.akashi@linaro.org> References: <20200221061301.19660-1-takahiro.akashi@linaro.org> <20200221061301.19660-5-takahiro.akashi@linaro.org> Message-ID: <20200312164843.GW12423@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: