| 64269a86 | 01-Jun-2022 |
Loic Poulain <loic.poulain@linaro.org> |
UPSTREAM: armv8 SHA-256 using ARMv8 Crypto Extensions
This patch adds support for the SHA-256 Secure Hash Algorithm for CPUs that have support for the SHA-256 part of the ARM v8 Crypto Extensions.
UPSTREAM: armv8 SHA-256 using ARMv8 Crypto Extensions
This patch adds support for the SHA-256 Secure Hash Algorithm for CPUs that have support for the SHA-256 part of the ARM v8 Crypto Extensions.
It greatly improves sha-256 based operations, about 17x faster on iMX8M evk board. ~12ms vs ~208ms for a 20MiB kernel sha-256 verification.
asm implementation is a simplified version of the Linux version (from Ard Biesheuvel).
Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I653b755a29f2cb4e3c1290b02ad48de9d413b455 (cherry picked from commit 0fcc1c76d1acaa68a0675f0baa0e5d9a25908bae)
show more ...
|