mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
cryptodev: Introduce server type in QAPI
Introduce cryptodev service type in cryptodev.json, then apply this to related codes. Now we can remove VIRTIO_CRYPTO_SERVICE_xxx dependence from QEMU cryptodev. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20230301105847.253084-5-pizhenwei@bytedance.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
999c789f00
commit
bc304a6442
@@ -18,6 +18,17 @@
|
||||
'prefix': 'QCRYPTODEV_BACKEND_ALG',
|
||||
'data': ['sym', 'asym']}
|
||||
|
||||
##
|
||||
# @QCryptodevBackendServiceType:
|
||||
#
|
||||
# The supported service types of a crypto device.
|
||||
#
|
||||
# Since: 8.0
|
||||
##
|
||||
{ 'enum': 'QCryptodevBackendServiceType',
|
||||
'prefix': 'QCRYPTODEV_BACKEND_SERVICE',
|
||||
'data': ['cipher', 'hash', 'mac', 'aead', 'akcipher']}
|
||||
|
||||
##
|
||||
# @QCryptodevBackendType:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user