summaryrefslogtreecommitdiff
path: root/lib/rsa/Makefile
diff options
context:
space:
mode:
authorgaurav rana <gaurav.rana@freescale.com>2015-02-27 03:40:06 (GMT)
committerYork Sun <yorksun@freescale.com>2015-03-05 20:04:59 (GMT)
commitccf288612f9c66d592df241ba3c05ead92a45972 (patch)
tree69c935da2e976459a88ceb9c16c520dfd8c7f223 /lib/rsa/Makefile
parent2372e283e56c5edc09f1c900c4b806d78a38d177 (diff)
downloadu-boot-fsl-qoriq-ccf288612f9c66d592df241ba3c05ead92a45972.tar.xz
rsa : Compile Modular Exponentiation files based on CONFIG_RSA_SOFTWARE_EXP
Remove dependency of rsa_mod_exp from CONFIG_FIT_SIGNATURE. As rsa modular exponentiation is an independent module and can be invoked independently. Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'lib/rsa/Makefile')
-rw-r--r--lib/rsa/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rsa/Makefile b/lib/rsa/Makefile
index cc25b3c..6867e50 100644
--- a/lib/rsa/Makefile
+++ b/lib/rsa/Makefile
@@ -7,4 +7,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-$(CONFIG_FIT_SIGNATURE) += rsa-verify.o rsa-checksum.o rsa-mod-exp.o
+obj-$(CONFIG_FIT_SIGNATURE) += rsa-verify.o rsa-checksum.o
+obj-$(CONFIG_RSA_SOFTWARE_EXP) += rsa-mod-exp.o