Ruchika Gupta fc2f4246b4 rsa: Split the rsa-verify to separate the modular exponentiation
Public exponentiation which is required in rsa verify functionality is
tightly integrated with verification code in rsa_verify.c. The patch
splits the file into twp separating the modular exponentiation.

1. rsa-verify.c
- The file parses device tree keys node to fill a keyprop structure.
The keyprop structure can then be converted to implementation specific
format.
(struct rsa_pub_key for sw implementation)
- The parsed device tree node is then passed to a generic rsa_mod_exp
function.

2. rsa-mod-exp.c
Move the software specific functions related to modular exponentiation
from rsa-verify.c to this file.

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
CC: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2015-01-29 17:09:58 -07:00
..
2015-01-29 17:09:57 -07:00
2015-01-29 17:09:57 -07:00
2014-07-30 08:48:03 -04:00
2015-01-05 15:13:46 -05:00
2014-07-18 19:42:16 +01:00
2015-01-22 12:34:56 +01:00
2015-01-14 11:35:43 -05:00
2014-02-04 16:32:20 +01:00
2014-02-21 08:42:47 -05:00
2014-11-21 08:13:17 +01:00
2014-06-21 10:06:58 -06:00
2014-10-06 17:34:40 +02:00
2014-10-25 15:27:36 -04:00
2015-01-29 17:09:57 -07:00
2014-11-19 08:48:41 +01:00
2014-12-05 08:06:15 -08:00
2015-01-21 10:25:02 +01:00
2014-11-19 08:48:42 +01:00
2014-06-19 11:18:55 -04:00
2014-12-11 13:18:43 -07:00
2013-09-24 09:10:33 -04:00
2014-10-25 15:27:37 -04:00
2015-01-14 11:37:39 -05:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2014-10-22 16:56:41 -06:00
2013-09-20 10:30:54 -04:00
2014-05-30 14:03:24 -04:00
2013-11-09 17:21:01 +01:00
2015-01-06 10:10:04 +02:00
2015-01-23 17:24:15 -07:00
2015-01-23 17:24:54 -07:00
2015-01-05 12:08:55 -05:00
2015-01-16 09:32:11 -08:00
2014-11-24 12:00:00 +01:00
2014-10-22 10:36:50 -06:00
2013-12-04 08:11:28 -05:00
2014-12-31 19:10:13 +01:00
2015-01-18 12:31:36 +01:00
2015-01-21 10:25:53 +01:00