u-boot/lib/rsa
AKASHI Takahiro e0d310b098 lib: rsa: generate additional parameters for public key
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>
2020-03-12 08:20:39 -04:00
..
Kconfig lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
Makefile lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
rsa-checksum.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rsa-keyprop.c lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
rsa-mod-exp.c xilinx: zynq: Add support to secure images 2018-07-19 10:49:54 +02:00
rsa-sign.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
rsa-verify.c lib: rsa: decouple rsa from FIT image verification 2020-03-12 08:20:38 -04:00