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
..
2020-01-17 10:16:29 -05:00
2018-05-07 09:34:12 -04:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-02-28 19:37:14 +01:00
2020-02-28 19:37:14 +01:00
2020-02-05 19:33:46 -07:00
2020-01-30 13:30:35 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-01-30 13:30:35 -05:00
2020-03-12 08:20:39 -04:00
2018-05-07 09:34:12 -04:00
2020-01-17 17:53:40 -05:00
2020-02-05 19:33:46 -07:00
2020-01-22 17:47:57 -05:00
2018-05-07 09:34:12 -04:00
2020-01-17 10:15:49 -05:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:20 -05:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2018-09-18 00:01:18 -06:00
2019-09-20 20:09:19 +02:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:07 -05:00
2018-12-08 20:18:44 -05:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:19 -05:00
2020-01-17 17:53:52 -05:00
2019-04-23 20:26:43 -06:00
2019-10-31 07:22:53 -04:00
2018-05-07 09:34:12 -04:00
2019-07-10 16:52:58 -06:00
2020-02-05 19:33:46 -07:00
2019-12-02 18:23:08 -05:00
2019-08-11 16:43:41 -04:00
2020-01-17 17:53:40 -05:00
2019-12-02 18:23:08 -05:00
2018-06-13 07:49:12 -04:00
2018-05-30 11:59:21 +02:00
2020-01-25 12:04:36 -05:00
2018-05-07 09:34:12 -04:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2019-12-02 18:23:11 -05:00
2018-05-10 20:38:35 -04:00
2020-01-25 12:04:36 -05:00
2018-05-07 09:34:12 -04:00
2019-12-15 11:43:57 +08:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:20 -05:00
2020-01-17 17:53:40 -05:00
2018-12-05 06:01:34 -07:00
2019-12-02 18:23:08 -05:00
2019-12-02 18:23:07 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-05 16:02:34 -04:00
2019-08-11 16:43:41 -04:00
2020-02-05 19:33:46 -07:00
2018-09-20 20:11:01 +05:30
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:13 -05:00
2019-11-01 09:34:35 -04:00
2018-12-05 06:01:34 -07:00
2018-11-29 09:30:06 -07:00
2019-02-19 08:55:43 -05:00
2018-11-29 09:30:06 -07:00
2020-01-22 17:47:57 -05:00
2019-12-02 18:23:13 -05:00
2019-12-09 09:47:41 -06:00
2019-05-05 08:48:50 -04:00