Skip to content
Commit 62535953 authored by Loic Poulain's avatar Loic Poulain Committed by Tom Rini
Browse files

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: default avatarLoic Poulain <loic.poulain@linaro.org>
parent c3e45f9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment