summaryrefslogtreecommitdiff
path: root/common
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 /common
parent3505fa572793d50f7ae53a46630cf5976b69e700 (diff)
downloadu-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 'common')
-rw-r--r--common/image-fit-sig.c2
-rw-r--r--common/image-sig.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/image-fit-sig.c b/common/image-fit-sig.c
index 34ebb8edfe..55ddf1879e 100644
--- a/common/image-fit-sig.c
+++ b/common/image-fit-sig.c
@@ -16,7 +16,7 @@ DECLARE_GLOBAL_DATA_PTR;
#include <fdt_region.h>
#include <image.h>
#include <u-boot/rsa.h>
-#include <u-boot/rsa-checksum.h>
+#include <u-boot/hash-checksum.h>
#define IMAGE_MAX_HASHED_NODES 100
diff --git a/common/image-sig.c b/common/image-sig.c
index 4abd3c080f..54f0eb2019 100644
--- a/common/image-sig.c
+++ b/common/image-sig.c
@@ -17,7 +17,7 @@ DECLARE_GLOBAL_DATA_PTR;
#endif /* !USE_HOSTCC*/
#include <image.h>
#include <u-boot/rsa.h>
-#include <u-boot/rsa-checksum.h>
+#include <u-boot/hash-checksum.h>
#define IMAGE_MAX_HASHED_NODES 100