diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-02-19 21:45:10 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-14 22:06:08 +0300 |
commit | 0bcb28dfb946b32ed7550fc4c24c5dcea6718554 (patch) | |
tree | d54d4cda64bf44ce534d03d26ae3913f1a957746 /lib/crypto | |
parent | 3505fa572793d50f7ae53a46630cf5976b69e700 (diff) | |
download | u-boot-0bcb28dfb946b32ed7550fc4c24c5dcea6718554.tar.xz |
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/crypto')
-rw-r--r-- | lib/crypto/pkcs7_verify.c | 2 | ||||
-rw-r--r-- | lib/crypto/x509_public_key.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/pkcs7_verify.c b/lib/crypto/pkcs7_verify.c index 58683ef614..82c5c745d4 100644 --- a/lib/crypto/pkcs7_verify.c +++ b/lib/crypto/pkcs7_verify.c @@ -15,7 +15,7 @@ #include <linux/bitops.h> #include <linux/compat.h> #include <linux/asn1.h> -#include <u-boot/rsa-checksum.h> +#include <u-boot/hash-checksum.h> #include <crypto/public_key.h> #include <crypto/pkcs7_parser.h> #else diff --git a/lib/crypto/x509_public_key.c b/lib/crypto/x509_public_key.c index 91810a8640..d557ab27ae 100644 --- a/lib/crypto/x509_public_key.c +++ b/lib/crypto/x509_public_key.c @@ -19,7 +19,7 @@ #include <linux/kernel.h> #ifdef __UBOOT__ #include <crypto/x509_parser.h> -#include <u-boot/rsa-checksum.h> +#include <u-boot/hash-checksum.h> #else #include <linux/slab.h> #include <keys/asymmetric-subtype.h> |