Searched refs:vcrypto (Results 1 – 4 of 4) sorted by relevance
78 VirtIOCrypto *vcrypto = VIRTIO_CRYPTO(vdev); in virtio_crypto_cipher_session_helper() local87 if (info->key_len > vcrypto->conf.max_cipher_key_len) { in virtio_crypto_cipher_session_helper()111 virtio_crypto_create_sym_session(VirtIOCrypto *vcrypto, in virtio_crypto_create_sym_session() argument118 VirtIODevice *vdev = VIRTIO_DEVICE(vcrypto); in virtio_crypto_create_sym_session()158 if (sym_info->auth_key_len > vcrypto->conf.max_auth_key_len) { in virtio_crypto_create_sym_session()192 return cryptodev_backend_create_session(vcrypto->cryptodev, &sreq->info, in virtio_crypto_create_sym_session()197 virtio_crypto_create_asym_session(VirtIOCrypto *vcrypto, in virtio_crypto_create_asym_session() argument203 VirtIODevice *vdev = VIRTIO_DEVICE(vcrypto); in virtio_crypto_create_asym_session()247 return cryptodev_backend_create_session(vcrypto->cryptodev, &sreq->info, in virtio_crypto_create_asym_session()252 virtio_crypto_handle_close_session(VirtIOCrypto *vcrypto, in virtio_crypto_handle_close_session() argument[all …]
48 VirtIOCryptoPCI *vcrypto = VIRTIO_CRYPTO_PCI(vpci_dev); in virtio_crypto_pci_realize() local49 DeviceState *vdev = DEVICE(&vcrypto->vdev); in virtio_crypto_pci_realize()51 if (vcrypto->vdev.conf.cryptodev == NULL) { in virtio_crypto_pci_realize()
173 VirtIOCrypto *vcrypto = VIRTIO_CRYPTO(dev); in cryptodev_vhost_start() local179 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_start()250 VirtIOCrypto *vcrypto = VIRTIO_CRYPTO(dev); in cryptodev_vhost_stop() local251 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_stop()275 VirtIOCrypto *vcrypto = VIRTIO_CRYPTO(dev); in cryptodev_vhost_virtqueue_mask() local276 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_virtqueue_mask()291 VirtIOCrypto *vcrypto = VIRTIO_CRYPTO(dev); in cryptodev_vhost_virtqueue_pending() local292 CryptoDevBackend *b = vcrypto->cryptodev; in cryptodev_vhost_virtqueue_pending()
74 struct VirtIOCrypto *vcrypto; member81 struct VirtIOCrypto *vcrypto; member