commit | 040abf6fab3d21731fd169510880b0fc3291689f | [log] [tgz] |
---|---|---|
author | Loic Poulain <loic.poulain@linaro.org> | Wed Jun 01 20:26:31 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 27 13:36:28 2022 -0400 |
tree | 5f9a634239d20404cbc5cf97080ae558176d28be | |
parent | 179b2118d091fcd4d44fe31f8e77d5259a0553a0 [diff] |
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>