This project aims to add the vector cryptographic extensions (0) in QEMU, adding crypto instructions that are aimed on Vector registers.
Adding this support will allow QEMU to be used as a hardware replacement for cryptographic development when hardware access with vector crypto support is not available.
(0) https://github.com/riscv/riscv-crypto/releases
Changes to related files in target/riscv (for implementation of vector cryptographic extensions) and crypto & include/crypto & target/arm/tcg/crypto_helper.c (for sm4 related part) arounds:
Refactor some of the generic vector functionality
Testing with the code samples provided by the vector cryptographic spec repository(ref.).
Main repo: https://gitlab.com/qemu-project/qemu.git
Pending patch: https://lists.gnu.org/archive/html/qemu-riscv/2023-07/msg00004.html
None
Patch integrated.
None
The development was made by SiFive in collaboration with CodeThink.
|