]> git.proxmox.com Git - mirror_qemu.git/commit
cryptodev-builtin: Detect akcipher capability
authorzhenwei pi <pizhenwei@bytedance.com>
Wed, 1 Mar 2023 10:58:41 +0000 (18:58 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Mar 2023 17:38:59 +0000 (12:38 -0500)
commitabca0fc329a89c1a497974db50f284a37c32f2f5
treeb25b81f79be3888b0536e01404ec2bf009eb0628
parent5dcb0198109429c9f54adce939ad825eabe857b4
cryptodev-builtin: Detect akcipher capability

Rather than exposing akcipher service/RSA algorithm to virtio crypto
device unconditionally, detect akcipher capability from akcipher
crypto framework. This avoids unsuccessful requests.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20230301105847.253084-7-pizhenwei@bytedance.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
backends/cryptodev-builtin.c