u-boot-brain/include/u-boot
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
..
aes.h u-boot: fit: add support to decrypt fit with aes 2020-01-17 10:16:29 -05:00
crc.h include/u-boot/crc.h: pull 'uint' definition on musl targets 2020-01-03 09:47:10 -05:00
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
rsa-checksum.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rsa-mod-exp.h lib: rsa: generate additional parameters for public key 2020-03-12 08:20:39 -04:00
rsa.h rsa: add support of padding pss 2018-12-03 10:44:10 -05:00
sha1.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.h rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
u-boot.lds.h start a linker script helper file 2009-08-23 22:33:33 +02:00
variadic-macro.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zlib.h lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00