]> git.baikalelectronics.ru Git - uboot.git/commit
armv8 SHA-1 using ARMv8 Crypto Extensions:
authorLoic Poulain <loic.poulain@linaro.org>
Wed, 1 Jun 2022 18:26:29 +0000 (20:26 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jun 2022 17:36:28 +0000 (13:36 -0400)
commit6dffe3379b1cecb157ea2aced65edd838960a8ad
tree2cdf17a0a20a3ab25752dfaacbcc77661d164411
parenta337f96acb1abc8bcd832aace1d0167d4e6b8e8a
armv8 SHA-1 using ARMv8 Crypto Extensions:

This patch adds support for the SHA-1 Secure Hash Algorithm for CPUs
that have support for the SHA-1 part of the ARM v8 Crypto Extensions.

It greatly improves sha-1 based operations, about 10x faster on iMX8M
evk board. ~12ms vs ~165ms for a 20MiB kernel sha-1 verification.

asm implementation is a simplified version of the Linux version (from
Ard Biesheuvel).

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
arch/arm/cpu/armv8/Kconfig
arch/arm/cpu/armv8/Makefile
arch/arm/cpu/armv8/sha1_ce_core.S [new file with mode: 0644]
arch/arm/cpu/armv8/sha1_ce_glue.c [new file with mode: 0644]