Searched refs:secretid (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/crypto/ |
H A D | secret_common.c | 298 int qcrypto_secret_lookup(const char *secretid, in qcrypto_secret_lookup() argument 307 object_get_objects_root(), secretid); in qcrypto_secret_lookup() 309 error_setg(errp, "No secret with id '%s'", secretid); in qcrypto_secret_lookup() 318 secretid); in qcrypto_secret_lookup() 324 secretid); in qcrypto_secret_lookup() 337 char *qcrypto_secret_lookup_as_utf8(const char *secretid, in qcrypto_secret_lookup_as_utf8() argument 343 if (qcrypto_secret_lookup(secretid, in qcrypto_secret_lookup_as_utf8() 353 secretid); in qcrypto_secret_lookup_as_utf8() 362 char *qcrypto_secret_lookup_as_base64(const char *secretid, in qcrypto_secret_lookup_as_base64() argument 369 if (qcrypto_secret_lookup(secretid, in qcrypto_secret_lookup_as_base64()
|
/openbmc/qemu/include/crypto/ |
H A D | secret_common.h | 51 int qcrypto_secret_lookup(const char *secretid, 55 char *qcrypto_secret_lookup_as_utf8(const char *secretid, Error **errp); 56 char *qcrypto_secret_lookup_as_base64(const char *secretid, Error **errp);
|
/openbmc/qemu/block/ |
H A D | curl.c | 687 const char *secretid; in curl_open() local 766 secretid = qemu_opt_get(opts, CURL_BLOCK_OPT_PASSWORD_SECRET); in curl_open() 768 if (secretid) { in curl_open() 769 s->password = qcrypto_secret_lookup_as_utf8(secretid, errp); in curl_open() 777 secretid = qemu_opt_get(opts, CURL_BLOCK_OPT_PROXY_PASSWORD_SECRET); in curl_open() 778 if (secretid) { in curl_open() 779 s->proxypassword = qcrypto_secret_lookup_as_utf8(secretid, errp); in curl_open()
|
H A D | rbd.c | 119 const char *keypairs, const char *secretid, 900 const char *keypairs, const char *secretid, in qemu_rbd_connect() argument 907 if (secretid) { in qemu_rbd_connect() 913 opts->key_secret = g_strdup(secretid); in qemu_rbd_connect() 1071 char *keypairs, *secretid; in qemu_rbd_open() local 1080 secretid = g_strdup(qdict_get_try_str(options, "password-secret")); in qemu_rbd_open() 1081 if (secretid) { in qemu_rbd_open() 1121 !(flags & BDRV_O_NOCACHE), keypairs, secretid, errp); in qemu_rbd_open() 1199 g_free(secretid); in qemu_rbd_open()
|
H A D | iscsi.c | 1333 const char *secretid; in apply_chap() local 1341 secretid = qemu_opt_get(opts, "password-secret"); in apply_chap() 1343 if (secretid && password) { in apply_chap() 1348 if (secretid) { in apply_chap() 1349 secret = qcrypto_secret_lookup_as_utf8(secretid, errp); in apply_chap()
|
/openbmc/qemu/ |
H A D | qemu-options.hx | 5796 ``-object secret,id=id,data=string,format=raw|base64[,keyid=secretid,iv=string]`` 5798 ``-object secret,id=id,file=filename,format=raw|base64[,keyid=secretid,iv=string]``
|