Content-Length: 9474 | pFad | http://lwn.net/Articles/998059/

RISC-V CRC-T10DIF optimization with zbc extension and CRC-T10DIF selftest [LWN.net]
|
|
Subscribe / Log in / New account

RISC-V CRC-T10DIF optimization with zbc extension and CRC-T10DIF selftest

From:  Zhihang Shao <zhihang.shao.iscas-AT-gmail.com>
To:  herbert-AT-gondor.apana.org.au
Subject:  [PATCH 0/2] RISC-V CRC-T10DIF optimization with zbc extension and CRC-T10DIF selftest
Date:  Wed, 13 Nov 2024 10:40:34 +0000
Message-ID:  <20241113104036.254491-1-zhihang.shao.iscas@gmail.com>
Cc:  davem-AT-davemloft.net, palmer-AT-dabbelt.com, paul.walmsley-AT-sifive.com, aou-AT-eecs.berkeley.edu, akpm-AT-linux-foundation.org, linux-crypto-AT-vger.kernel.org, linux-riscv-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

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




Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://lwn.net/Articles/998059/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy