diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-02-19 12:45:10 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-14 15:06:08 -0400 |
commit | 0bcb28dfb946b32ed7550fc4c24c5dcea6718554 (patch) | |
tree | d54d4cda64bf44ce534d03d26ae3913f1a957746 /tools | |
parent | 3505fa572793d50f7ae53a46630cf5976b69e700 (diff) | |
download | u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.gz u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.bz2 u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.zip |
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 'tools')
-rw-r--r-- | tools/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile index 62de7e6fe0..e968b20fbd 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -67,7 +67,7 @@ LIBFDT_OBJS := $(addprefix libfdt/, fdt.o fdt_ro.o fdt_wip.o fdt_sw.o fdt_rw.o \ fdt_strerror.o fdt_empty_tree.o fdt_addresses.o fdt_overlay.o) RSA_OBJS-$(CONFIG_FIT_SIGNATURE) := $(addprefix lib/rsa/, \ - rsa-sign.o rsa-verify.o rsa-checksum.o \ + rsa-sign.o rsa-verify.o \ rsa-mod-exp.o) AES_OBJS-$(CONFIG_FIT_CIPHER) := $(addprefix lib/aes/, \ @@ -106,6 +106,7 @@ dumpimage-mkimage-objs := aisimage.o \ socfpgaimage.o \ sunxi_egon.o \ lib/crc16.o \ + lib/hash-checksum.o \ lib/sha1.o \ lib/sha256.o \ lib/sha512.o \ |