/openbmc/qemu/nbd/ |
H A D | client-connection.c | 37 QCryptoTLSCreds *tlscreds; member 83 QCryptoTLSCreds *tlscreds, in nbd_client_connection_new() argument 88 object_ref(OBJECT(tlscreds)); in nbd_client_connection_new() 91 .tlscreds = tlscreds, in nbd_client_connection_new() 116 object_unref(OBJECT(conn->tlscreds)); in nbd_client_connection_do_free() 128 NBDExportInfo *info, QCryptoTLSCreds *tlscreds, in nbd_connect() argument 149 ret = nbd_receive_negotiate(QIO_CHANNEL(sioc), tlscreds, tlshostname, in nbd_connect() 192 conn->tlscreds, conn->tlshostname, in connect_thread_func()
|
H A D | client.c | 618 QCryptoTLSCreds *tlscreds, in nbd_receive_starttls() argument 635 tioc = qio_channel_tls_new_client(ioc, tlscreds, hostname, errp); in nbd_receive_starttls() 916 if (tlscreds && !outioc) { in nbd_start_negotiate() 961 if (tlscreds) { in nbd_start_negotiate() 997 if (tlscreds) { in nbd_start_negotiate() 1040 int nbd_receive_negotiate(QIOChannel *ioc, QCryptoTLSCreds *tlscreds, in nbd_receive_negotiate() argument 1052 result = nbd_start_negotiate(ioc, tlscreds, hostname, outioc, in nbd_receive_negotiate() 1060 if (tlscreds && *outioc) { in nbd_receive_negotiate() 1162 int nbd_receive_export_list(QIOChannel *ioc, QCryptoTLSCreds *tlscreds, in nbd_receive_export_list() argument 1175 result = nbd_start_negotiate(ioc, tlscreds, hostname, &sioc, in nbd_receive_export_list() [all …]
|
H A D | server.c | 132 QCryptoTLSCreds *tlscreds; member 800 client->tlscreds, in nbd_negotiate_handle_starttls() 1230 if (client->tlscreds && in nbd_negotiate_options() 1308 } else if (client->tlscreds) { in nbd_negotiate_options() 1567 if (client->tlscreds) { in nbd_client_put() 1568 object_unref(OBJECT(client->tlscreds)); in nbd_client_put() 3244 QCryptoTLSCreds *tlscreds, in nbd_client_new() argument 3255 client->tlscreds = tlscreds; in nbd_client_new() 3256 if (tlscreds) { in nbd_client_new() 3257 object_ref(OBJECT(client->tlscreds)); in nbd_client_new()
|
H A D | trace-events | 19 nbd_start_negotiate(void *tlscreds, const char *hostname) "Receiving negotiation tlscreds=%p hostna…
|
/openbmc/qemu/ |
H A D | blockdev-nbd.c | 31 QCryptoTLSCreds *tlscreds; member 89 nbd_server->tlscreds, nbd_server->tlsauthz, in nbd_accept() 127 if (server->tlscreds) { in nbd_server_free() 128 object_unref(OBJECT(server->tlscreds)); in nbd_server_free() 191 nbd_server->tlscreds = nbd_get_tls_creds(tls_creds, errp); in nbd_server_start() 192 if (!nbd_server->tlscreds) { in nbd_server_start()
|
H A D | qemu-nbd.c | 81 static QCryptoTLSCreds *tlscreds; variable 395 tlscreds, tlsauthz, nbd_client_closed, NULL); in nbd_accept() 888 tlscreds = nbd_get_tls_creds(tlscredsid, list, &local_err); in main() 918 return qemu_nbd_client_list(opts.saddr, tlscreds, in main()
|
/openbmc/qemu/include/block/ |
H A D | nbd.h | 396 int nbd_receive_negotiate(QIOChannel *ioc, QCryptoTLSCreds *tlscreds, 400 int nbd_receive_export_list(QIOChannel *ioc, QCryptoTLSCreds *tlscreds, 420 QCryptoTLSCreds *tlscreds, 499 QCryptoTLSCreds *tlscreds,
|
/openbmc/qemu/ui/ |
H A D | vnc.c | 590 if (!vd->tlscreds) { in vnc_display_reload_certs() 601 if (!creds->reload(vd->tlscreds, errp)) { in vnc_display_reload_certs() 3305 if (vd->tlscreds) { in vnc_connect() 3449 if (vd->tlscreds) { in vnc_display_close() 3450 object_unref(OBJECT(vd->tlscreds)); in vnc_display_close() 3451 vd->tlscreds = NULL; in vnc_display_close() 3660 if (websocket || !tlscreds) { in vnc_display_setup_auth() 4093 vd->tlscreds = (QCryptoTLSCreds *) in vnc_display_open() 4096 if (!vd->tlscreds) { in vnc_display_open() 4101 object_ref(OBJECT(vd->tlscreds)); in vnc_display_open() [all …]
|
H A D | vnc-ws.c | 70 vs->vd->tlscreds, in vncws_tls_handshake_io()
|
H A D | vnc-auth-vencrypt.c | 112 vs->vd->tlscreds, in protocol_client_vencrypt_auth()
|
H A D | vnc.h | 181 QCryptoTLSCreds *tlscreds; member
|
/openbmc/qemu/crypto/ |
H A D | meson.build | 19 'tlscreds.c',
|
H A D | trace-events | 3 # tlscreds.c
|
/openbmc/qemu/block/ |
H A D | nbd.c | 103 QCryptoTLSCreds *tlscreds; member 126 object_unref(OBJECT(s->tlscreds)); in nbd_clear_bdrvstate() 1878 s->tlscreds = nbd_get_tls_creds(s->tlscredsid, errp); in nbd_process_options() 1879 if (!s->tlscreds) { in nbd_process_options() 1928 s->x_dirty_bitmap, s->tlscreds, in nbd_open()
|