Linux Enhances Kernel Crypto Functions with RISC-V Vector Extensions

  • October 30, 2023

Patches have been posted by SiFive for the Linux kernel that provide cryptographic implementations of various functions within the kernel using the RISC-V processor ISA’s vector crypto extensions. These patches aim to accelerate various Linux kernel crypto operations by utilizing the vector instructions with the RISC-V Cryptography Extensions. The vector instructions for these extensions can be found in the riscv-crypto repository.

In total, twelve patches have been posted this week that improve the performance of several cryptographic functions. These include the acceleration of AES cipher, AES with CBC/CTR/ECB/XTS block modes, ChaCha20 stream cipher, GHASH for GCM, SHA-224/256 and SHA-384/512 hash, SM3 hash, and SM4 cipher.

For those interested in this work and the details of how it speeds up kernel crypto operations with the RISC-V Crypto Vector instructions, the patch series can be found here .

Source: Phoronix .

comments powered by Disqus

Related Posts

ASRock DeskMini B760: Compact Computer with Core i9-13900 Support

ASRock’s DeskMini B760 is a compact computer that offers support for the up Core i9-13900 processor.

Read More

Cloud Hypervisor Releases Version v35.0 of Open Source Virtual Machine Monitor

Cloud Hypervisor , an open-source Virtual Machine Monitor (VMM), has announced the release of version v35.

Read More

K3s Introduces Latest Release: v1.28.2-rc1+k3s1

K3s has released version v1.28.2-rc1+k3s1. The update includes several improvements and bug fixes, such as updating to v1.

Read More