[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241113104036.254491-1-zhihang.shao.iscas@gmail.com>
Date: Wed, 13 Nov 2024 10:40:34 +0000
From: Zhihang Shao <zhihang.shao.iscas@...il.com>
To: herbert@...dor.apana.org.au
Cc: davem@...emloft.net,
palmer@...belt.com,
paul.walmsley@...ive.com,
aou@...s.berkeley.edu,
akpm@...ux-foundation.org,
linux-crypto@...r.kernel.org,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] RISC-V CRC-T10DIF optimization with zbc extension and CRC-T10DIF selftest
Compared to other architectures, RISC-V still lacks accerlerated implementations
for some encryption and checksum algorithms.
This patchset aims to add optimization for crc-t10dif algorithm with zbc extension.
To verify the correctness and measure performance of the optimization,
the selftest is also included as part of patchset.
Zhihang Shao (2):
lib/crct10diftest.c add selftests for crct10dif
riscv: Optimize crct10dif with zbc extension
arch/riscv/crypto/Kconfig | 14 +
arch/riscv/crypto/Makefile | 4 +
arch/riscv/crypto/crct10dif-riscv-zbc.c | 182 +++++++
lib/Kconfig | 9 +
lib/Makefile | 1 +
lib/crct10diftest.c | 687 ++++++++++++++++++++++++
6 files changed, 897 insertions(+)
create mode 100644 arch/riscv/crypto/crct10dif-riscv-zbc.c
create mode 100644 lib/crct10diftest.c
--
2.34.1
Powered by blists - more mailing lists