Commit f899ca68 authored by Eric Biggers's avatar Eric Biggers Committed by Treehugger Robot
Browse files

UPSTREAM: crypto: riscv - parallelize AES-CBC decryption



Since CBC decryption is parallelizable, make the RISC-V implementation
of AES-CBC decryption process multiple blocks at a time, instead of
processing the blocks one by one.  This should improve performance.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20240208060851.154129-1-ebiggers@kernel.org


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>

(cherry picked from commit da215b08)
Bug: 332317531
Test: For whole topic: booted kernel in QEMU and ran crypto self-tests
Change-Id: I0a89fb7d84a4380a1bf60a1ed22e55ba2ed9d0b1
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 6d1065bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment