/qemu/backends/ |
H A D | cryptodev-vhost.c | 37 CryptoDevBackendVhost *crypto) in cryptodev_vhost_get_max_queues() argument 39 return crypto->dev.max_queues; in cryptodev_vhost_get_max_queues() 42 void cryptodev_vhost_cleanup(CryptoDevBackendVhost *crypto) in cryptodev_vhost_cleanup() argument 44 vhost_dev_cleanup(&crypto->dev); in cryptodev_vhost_cleanup() 45 g_free(crypto); in cryptodev_vhost_cleanup() 53 CryptoDevBackendVhost *crypto; in cryptodev_vhost_init() local 56 crypto = g_new0(CryptoDevBackendVhost, 1); in cryptodev_vhost_init() 57 crypto->dev.max_queues = 1; in cryptodev_vhost_init() 58 crypto->dev.nvqs = 1; in cryptodev_vhost_init() 59 crypto->dev.vqs = crypto->vqs; in cryptodev_vhost_init() [all …]
|
H A D | cryptodev-vhost-user.c | 57 CryptoDevBackendVhost *crypto) in cryptodev_vhost_user_running() argument 59 return crypto ? 1 : 0; in cryptodev_vhost_user_running()
|
/qemu/tests/unit/ |
H A D | meson.build | 78 'test-crypto-hash': [crypto], 79 'test-crypto-hmac': [crypto], 80 'test-crypto-cipher': [crypto], 81 'test-crypto-akcipher': [crypto], 82 'test-crypto-secret': [crypto, keyutils], 83 'test-crypto-der': [crypto], 93 'test-crypto-ivgen': [io], 94 'test-crypto-afsplit': [io], 95 'test-crypto-block': [io], 103 'test-crypto-tlscredsx509': ['crypto-tls-x509-helpers.c', [all …]
|
/qemu/block/ |
H A D | crypto.c | 67 BlockCrypto *crypto = bs->opaque; in block_crypto_read_func() local 73 ret = bdrv_pread(crypto->header ? crypto->header : bs->file, in block_crypto_read_func() 90 BlockCrypto *crypto = bs->opaque; in block_crypto_write_func() local 96 ret = bdrv_pwrite(crypto->header ? crypto->header : bs->file, in block_crypto_write_func() 315 BlockCrypto *crypto = bs->opaque; in block_crypto_open_generic() local 329 crypto->header = bdrv_open_child(NULL, options, "header", bs, in block_crypto_open_generic() 359 if (crypto->header != NULL) { in block_crypto_open_generic() 362 crypto->block = qcrypto_block_open(open_opts, NULL, in block_crypto_open_generic() 368 if (!crypto->block) { in block_crypto_open_generic() 392 QCryptoBlock *crypto = NULL; in block_crypto_co_create_generic() local [all …]
|
H A D | qcow.c | 87 QCryptoBlock *crypto; /* Disk encryption format driver */ member 213 s->crypto = qcrypto_block_open(crypto_opts, "encrypt.", in qcow_open() 215 if (!s->crypto) { in qcow_open() 328 qcrypto_block_free(s->crypto); in qcow_open() 487 assert(s->crypto); in get_cluster_offset() 492 if (qcrypto_block_encrypt(s->crypto, in get_cluster_offset() 560 if (s->crypto) { in qcow_co_block_status() 699 assert(s->crypto); in qcow_co_preadv() 700 if (qcrypto_block_decrypt(s->crypto, in qcow_co_preadv() 768 assert(s->crypto); in qcow_co_pwritev() [all …]
|
H A D | qcow2-threads.c | 463 .block = s->crypto, in qcow2_co_encdec() 471 assert(s->crypto); in qcow2_co_encdec() 473 sector_size = qcrypto_block_get_sector_size(s->crypto); in qcow2_co_encdec()
|
H A D | qcow2.c | 322 s->crypto = qcrypto_block_open(s->crypto_opts, "encrypt.", in qcow2_read_extensions() 325 if (!s->crypto) { in qcow2_read_extensions() 1712 if (s->crypt_method_header && !s->crypto) { in qcow2_do_open() 1718 s->crypto = qcrypto_block_open(s->crypto_opts, "encrypt.", in qcow2_do_open() 1720 if (!s->crypto) { in qcow2_do_open() 1918 qcrypto_block_free(s->crypto); in qcow2_do_open() 1981 if (s->crypto) { in qcow2_refresh_limits() 1983 bs->bl.request_alignment = qcrypto_block_get_sector_size(s->crypto); in qcow2_refresh_limits() 2175 type == QCOW2_SUBCLUSTER_UNALLOCATED_ALLOC) && !s->crypto) { in qcow2_co_block_status() 2242 assert(bs->encrypted && s->crypto); in qcow2_co_preadv_encrypted() [all …]
|
/qemu/qapi/ |
H A D | cryptodev.json | 14 # The supported algorithm types of a crypto device. 28 # The supported service types of a crypto device. 48 # The crypto device backend type 64 # Information about a queue of crypto device. 66 # @queue: the queue index of the crypto device 68 # @type: the type of the crypto device 79 # Information about a crypto device. 81 # @id: the id of the crypto device 83 # @service: supported service types of a crypto device 85 # @client: the additional information of the crypto device [all …]
|
H A D | virtio.json | 209 # Poll for the status of virtio-crypto (no vhost-crypto active) 706 # :title: Get vhost_virtqueue status for vhost-crypto 885 # :title: Introspect on virtio-crypto's VirtQueue 1 at head
|
H A D | qapi-schema.json | 38 { 'include': 'crypto.json' }
|
H A D | meson.build | 33 'crypto',
|
/qemu/tests/bench/ |
H A D | meson.build | 25 'benchmark-crypto-hash': [crypto], 26 'benchmark-crypto-hmac': [crypto], 27 'benchmark-crypto-cipher': [crypto], 28 'benchmark-crypto-akcipher': [crypto],
|
/qemu/scripts/ |
H A D | u2f-setup-gen.py | 21 from OpenSSL import crypto 88 privkey = crypto.load_privatekey(crypto.FILETYPE_PEM, privkey_pem) 89 pubkey = crypto.load_publickey(crypto.FILETYPE_PEM, pubkey_pem) 92 cert = crypto.X509() 111 crypto.X509Extension(b"subjectKeyIdentifier", 115 crypto.X509Extension(b"authorityKeyIdentifier", 119 crypto.X509Extension(b"basicConstraints", True, b"CA:TRUE") 125 return crypto.dump_certificate(crypto.FILETYPE_PEM, cert)
|
H A D | meson-buildoptions.sh | 285 --enable-crypto-afalg) printf "%s" -Dcrypto_afalg=enabled ;; 286 --disable-crypto-afalg) printf "%s" -Dcrypto_afalg=disabled ;; 536 --enable-vhost-crypto) printf "%s" -Dvhost_crypto=enabled ;; 537 --disable-vhost-crypto) printf "%s" -Dvhost_crypto=disabled ;;
|
/qemu/include/system/ |
H A D | cryptodev-vhost.h | 59 CryptoDevBackendVhost *crypto); 87 CryptoDevBackendVhost *crypto);
|
/qemu/scripts/coverity-scan/ |
H A D | COMPONENTS.md | 78 crypto 79 …~ .*/qemu((/include)?/crypto/.*|/hw/.*/.*crypto.*|(/include/system|/backends)/cryptodev.*|/host/in…
|
/qemu/docs/devel/ |
H A D | index-internals.rst | 27 crypto
|
/qemu/docs/interop/ |
H A D | vhost-user.json | 26 # @crypto: virtio crypto 47 'crypto',
|
/qemu/crypto/ |
H A D | cipher-stub.c.inc | 27 "Unsupported cipher algorithm %s, no crypto library enabled in build",
|
H A D | block.c | 147 g_autoptr(QCryptoBlock) crypto = in qcrypto_block_calculate_payload_offset() 152 return crypto != NULL; in qcrypto_block_calculate_payload_offset()
|
/qemu/target/riscv/ |
H A D | insn32.decode | 968 # *** Zvbc vector crypto extension *** 974 # *** Zvbb vector crypto extension *** 992 # *** Zvkned vector crypto extension *** 1005 # *** Zvknh vector crypto extension *** 1010 # *** Zvksh vector crypto extension *** 1014 # *** Zvkg vector crypto extension *** 1018 # *** Zvksed vector crypto extension ***
|
/qemu/hw/virtio/ |
H A D | meson.build | 6 system_virtio_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('virtio-crypto.c')) 71 virtio_pci_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('virtio-crypto-pci.c'))
|
/qemu/storage-daemon/qapi/ |
H A D | qapi-schema.json | 50 { 'include': '../../qapi/crypto.json' }
|
/qemu/hw/s390x/ |
H A D | meson.build | 41 virtio_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('virtio-ccw-crypto.c'))
|
/qemu/pc-bios/dtb/ |
H A D | canyonlands.dts | 139 CRYPTO: crypto@180000 { 140 compatible = "amcc,ppc460ex-crypto", "amcc,ppc4xx-crypto";
|