mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] RISC-V CRC-T10DIF optimization with zbc extension and CRC-T10DIF selftest
@ 2024-11-13 10:40 Zhihang Shao
  2024-11-13 10:40 ` [PATCH 1/2] lib/crct10diftest.c add selftests for crct10dif Zhihang Shao
  2024-11-13 10:40 ` [PATCH 2/2] " Zhihang Shao
  0 siblings, 2 replies; 6+ messages in thread
From: Zhihang Shao @ 2024-11-13 10:40 UTC (permalink / raw)
  To: herbert
  Cc: davem, palmer, paul.walmsley, aou, akpm, linux-crypto,
	linux-riscv, linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-14 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-13 10:40 [PATCH 0/2] RISC-V CRC-T10DIF optimization with zbc extension and CRC-T10DIF selftest Zhihang Shao
2024-11-13 10:40 ` [PATCH 1/2] lib/crct10diftest.c add selftests for crct10dif Zhihang Shao
2024-11-13 13:46   ` Eric Biggers
2024-11-14 14:42     ` [PATCH v2] riscv: Optimize crct10dif with zbc extension Zhihang Shao
2024-11-13 10:40 ` [PATCH 2/2] " Zhihang Shao
2024-11-14  7:04   ` Chunyan Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®