FROMLIST: crypto: arm64/sha256-ce - add support for finup_mb
Add an implementation of finup_mb to sha256-ce, using an interleaving factor of 2. It interleaves a finup operation for two equal-length messages that share a common prefix. dm-verity and fs-verity will take advantage of this for greatly improved performance on capable CPUs. On an ARM Cortex-X1, this increases the throughput of SHA-256 hashing 4096-byte messages by 70%. Reviewed-by:Ard Biesheuvel <ardb@kernel.org> Reviewed-by:
Sami Tolvanen <samitolvanen@google.com> Acked-by:
Ard Biesheuvel <ardb@kernel.org> Signed-off-by:
Eric Biggers <ebiggers@google.com> Bug: 330611177 Link: https://lore.kernel.org/r/20240621165922.77672-6-ebiggers@kernel.org Change-Id: Iadf56e5ce048c03ce97feae56c405634ef554cfa Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading
Please sign in to comment