Re: virtio-crypto: Inquiry about virtio crypto

From: Bibo Mao

Date: Wed Nov 26 2025 - 22:12:11 EST




On 2025/11/27 上午10:56, Gonglei (Arei) wrote:
Hi,

-----Original Message-----
From: Bibo Mao <maobibo@xxxxxxxxxxx>
Sent: Thursday, November 27, 2025 9:43 AM
To: Gonglei (Arei) <arei.gonglei@xxxxxxxxxx>
Cc: linux-crypto@xxxxxxxxxxxxxxx; virtualization@xxxxxxxxxxxxxxx; linux-kernel
<linux-kernel@xxxxxxxxxxxxxxx>; QEMU devel <qemu-devel@xxxxxxxxxx>
Subject: virtio-crypto: Inquiry about virtio crypto

Hi gonglei,

I am investigating how to use HW crypto accelerator in VM. It seems that
virtio-crypto is one option, however only aes skcipher algo is supported and

Actually akcipher service had been supported by virtio-crypto in 2022.
I am studying virtio-crypto and want to add sm4 algo with skcipher on it. Hope to get some guidances and work together on it in future :)

Regards
Bibo Mao

virtio-crypto device is not suggested by RHEL 10.

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html
/configuring_and_managing_linux_virtual_machines/feature-support-and-limit
ations-in-rhel-10-virtualization

I want to know what is the potential issued with virtio-crypto.


This question is too big, maybe you'd better ask RHEL guys. :(

Regards,
-Gonglei

Regards
Bibo Mao