[PATCH v3 1/6] lib: Rename rsa-checksum.c to hash-checksum.c

Simon Glass sjg at chromium.org
Wed Jan 13 17:10:19 CET 2021


On Thu, 7 Jan 2021 at 15:33, 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.
>
> 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