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 /include | |
parent | 3505fa572793d50f7ae53a46630cf5976b69e700 (diff) | |
download | u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.gz u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.xz 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 'include')
-rw-r--r-- | include/image.h | 2 | ||||
-rw-r--r-- | include/u-boot/hash-checksum.h (renamed from include/u-boot/rsa-checksum.h) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h index aeb0d37ac0..375fb46bf9 100644 --- a/include/image.h +++ b/include/image.h @@ -1283,7 +1283,7 @@ struct image_region { }; #if IMAGE_ENABLE_VERIFY -# include <u-boot/rsa-checksum.h> +# include <u-boot/hash-checksum.h> #endif struct checksum_algo { const char *name; diff --git a/include/u-boot/rsa-checksum.h b/include/u-boot/hash-checksum.h index 54e6a73744..54e6a73744 100644 --- a/include/u-boot/rsa-checksum.h +++ b/include/u-boot/hash-checksum.h |