[PATCH RFC v2 1/5] lib: Rename rsa-checksum.c to hash-checksum.c
Simon Glass
sjg at chromium.org
Thu Jan 7 13:35:32 CET 2021
Hi Alexandru,
On Wed, 30 Dec 2020 at 14:00, Alexandru Gagniuc <mr.nuke.me at gmail.com> wrote:
>
> 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/crypto, and rename it to
> hash-checksum.c, to give it a more "generic" feel.
It looks like it is moving to lib/ ?
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> ---
> common/image-fit-sig.c | 2 +-
> common/image-sig.c | 2 +-
> include/image.h | 2 +-
> include/u-boot/{rsa-checksum.h => hash-checksum.h} | 0
> lib/Makefile | 1 +
> lib/crypto/pkcs7_verify.c | 2 +-
> lib/crypto/x509_public_key.c | 2 +-
> lib/{rsa/rsa-checksum.c => hash-checksum.c} | 3 ++-
> lib/rsa/Makefile | 2 +-
> tools/Makefile | 3 ++-
> 10 files changed, 11 insertions(+), 8 deletions(-)
> rename include/u-boot/{rsa-checksum.h => hash-checksum.h} (100%)
> rename lib/{rsa/rsa-checksum.c => hash-checksum.c} (96%)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list