]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: riscv - parallelize AES-CBC decryption
authorEric Biggers <ebiggers@google.com>
Thu, 8 Feb 2024 06:08:51 +0000 (22:08 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 20 Mar 2024 15:56:10 +0000 (08:56 -0700)
commitda215b089b5d4ff30745c59922b54b309d55a5d8
tree5246af0a3d1b9c1d96ff8becbb7d289c52da75fb
parent028d1aee1f0768f96a40871e2e33727a10ff146f
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: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20240208060851.154129-1-ebiggers@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/crypto/aes-riscv64-zvkned.S