[PATCH v2 0/5] Add ARMv8 CE sha1/sha256 support

Loic Poulain loic.poulain at linaro.org
Thu Jun 16 01:04:07 CEST 2022


Hi Folks,

Any comments on this series? Anyone else to CC?

Thanks,
Loic

On Wed, 1 Jun 2022 at 20:26, Loic Poulain <loic.poulain at linaro.org> wrote:
>
> This series adds support for the SHA-1 and SHA-256 Secure Hash Algorithm
> for CPUs that have support of the ARM v8 Crypto Extensions. It Improves
> speed of integrity & signature checking procedures.
>
> V2:
>    - Add cover letter & sha256 support.
>    - Kconfig default 'y' only if SHA1 and SHA256 selected
>
> Loic Poulain (5):
>   lib: sha1: Add support for hardware specific sha1_process
>   sha1: Fix digest state size/type
>   armv8 SHA-1 using ARMv8 Crypto Extensions:
>   lib: sha256: Add support for hardware specific sha256_process
>   armv8 SHA-256 using ARMv8 Crypto Extensions
>
>  arch/arm/cpu/armv8/Kconfig          |  15 ++++
>  arch/arm/cpu/armv8/Makefile         |   2 +
>  arch/arm/cpu/armv8/sha1_ce_core.S   | 132 +++++++++++++++++++++++++++++++++++
>  arch/arm/cpu/armv8/sha1_ce_glue.c   |  21 ++++++
>  arch/arm/cpu/armv8/sha256_ce_core.S | 134 ++++++++++++++++++++++++++++++++++++
>  arch/arm/cpu/armv8/sha256_ce_glue.c |  21 ++++++
>  include/u-boot/sha1.h               |   2 +-
>  lib/sha1.c                          |  26 +++++--
>  lib/sha256.c                        |  26 +++++--
>  9 files changed, 364 insertions(+), 15 deletions(-)
>  create mode 100644 arch/arm/cpu/armv8/sha1_ce_core.S
>  create mode 100644 arch/arm/cpu/armv8/sha1_ce_glue.c
>  create mode 100644 arch/arm/cpu/armv8/sha256_ce_core.S
>  create mode 100644 arch/arm/cpu/armv8/sha256_ce_glue.c
>
> --
> 2.7.4
>


More information about the U-Boot mailing list