From: Loic Poulain <loic.poulain@linaro.org>
To: trini@konsulko.com
Cc: u-boot@lists.denx.de, michal.simek@xilinx.com,
kettenis@openbsd.org, Loic Poulain <loic.poulain@linaro.org>
Subject: [PATCH v2 0/5] Add ARMv8 CE sha1/sha256 support
Date: Wed, 1 Jun 2022 20:26:26 +0200 [thread overview]
Message-ID: <1654107991-598-1-git-send-email-loic.poulain@linaro.org> (raw)
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
next reply other threads:[~2022-06-01 18:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 18:26 Loic Poulain [this message]
2022-06-01 18:26 ` [PATCH v2 1/5] lib: sha1: Add support for hardware specific sha1_process Loic Poulain
2022-06-27 21:30 ` Tom Rini
2022-06-01 18:26 ` [PATCH v2 2/5] sha1: Fix digest state size/type Loic Poulain
2022-06-27 21:31 ` Tom Rini
2022-06-01 18:26 ` [PATCH v2 3/5] armv8 SHA-1 using ARMv8 Crypto Extensions: Loic Poulain
2022-06-27 21:31 ` Tom Rini
2022-06-01 18:26 ` [PATCH v2 4/5] lib: sha256: Add support for hardware specific sha256_process Loic Poulain
2022-06-27 21:31 ` Tom Rini
2023-02-06 17:12 ` Simon Glass
2023-02-06 22:12 ` Loic Poulain
2023-02-07 4:02 ` Simon Glass
2023-02-07 21:47 ` Loic Poulain
2023-02-07 22:25 ` Simon Glass
2023-02-08 0:10 ` Tom Rini
2023-02-08 18:28 ` Simon Glass
2023-02-08 18:38 ` Tom Rini
2022-06-01 18:26 ` [PATCH v2 5/5] armv8 SHA-256 using ARMv8 Crypto Extensions Loic Poulain
2022-06-23 19:51 ` [PATCH] qemu_arm64: Enable CONFIG_ARMV8_CRYPTO support Tom Rini
2022-06-27 21:31 ` Tom Rini
2022-06-27 21:31 ` [PATCH v2 5/5] armv8 SHA-256 using ARMv8 Crypto Extensions Tom Rini
2022-06-15 23:04 ` [PATCH v2 0/5] Add ARMv8 CE sha1/sha256 support Loic Poulain
2022-06-16 14:39 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1654107991-598-1-git-send-email-loic.poulain@linaro.org \
--to=loic.poulain@linaro.org \
--cc=kettenis@openbsd.org \
--cc=michal.simek@xilinx.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.