lib: Rename rsa-checksum.c to hash-checksum.c
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Fri, 19 Feb 2021 18:45:10 +0000 (12:45 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 14 Apr 2021 19:06:08 +0000 (15:06 -0400)
commit0bcb28dfb946b32ed7550fc4c24c5dcea6718554
treed54d4cda64bf44ce534d03d26ae3913f1a957746
parent3505fa572793d50f7ae53a46630cf5976b69e700
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>
common/image-fit-sig.c
common/image-sig.c
include/image.h
include/u-boot/hash-checksum.h [moved from include/u-boot/rsa-checksum.h with 100% similarity]
lib/Makefile
lib/crypto/pkcs7_verify.c
lib/crypto/x509_public_key.c
lib/hash-checksum.c [moved from lib/rsa/rsa-checksum.c with 96% similarity]
lib/rsa/Makefile
tools/Makefile