aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2021-02-19 12:45:10 -0600
committerTom Rini <trini@konsulko.com>2021-04-14 15:06:08 -0400
commit0bcb28dfb946b32ed7550fc4c24c5dcea6718554 (patch)
treed54d4cda64bf44ce534d03d26ae3913f1a957746 /lib/Makefile
parent3505fa572793d50f7ae53a46630cf5976b69e700 (diff)
downloadu-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.zip
u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.gz
u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.bz2
lib: Rename rsa-checksum.c to hash-checksum.c
rsa-checksum.c sontains the hash_calculate() implementations. Despite the "rsa-" file prefix, this function is useful for other algorithms. To prevent confusion, move this file to lib/, and rename it to hash-checksum.c, to give it a more "generic" feel. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index c42d4e1..6825671 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -61,6 +61,7 @@ endif
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi/
obj-$(CONFIG_$(SPL_)MD5) += md5.o
obj-$(CONFIG_$(SPL_)RSA) += rsa/
+obj-$(CONFIG_FIT_SIGNATURE) += hash-checksum.o
obj-$(CONFIG_SHA1) += sha1.o
obj-$(CONFIG_SHA256) += sha256.o
obj-$(CONFIG_SHA512_ALGO) += sha512.o