u-boot/lib/rsa
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
..
Makefile rsa: Split the rsa-verify to separate the modular exponentiation 2015-01-29 17:09:58 -07:00
rsa-checksum.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
rsa-mod-exp.c rsa: Split the rsa-verify to separate the modular exponentiation 2015-01-29 17:09:58 -07:00
rsa-sign.c rsa: Fix two errors in the implementation 2014-08-09 11:17:04 -04:00
rsa-verify.c rsa: Split the rsa-verify to separate the modular exponentiation 2015-01-29 17:09:58 -07:00